Commit 6f13a30565fc3891c0df161945097b316945fca7

Carlos Martín Nieto 2013-11-17T23:26:49

reflog: write to the reflog following git's rules git-core only writes to the reflogs of HEAD, refs/heads/ and, refs/notes/ or if there is already a reflog in place. Adjust our code to follow these semantics.