]> git.proxmox.com Git - libgit2.git/commit - src/refdb_fs.c
reflog: write to the reflog following git's rules
authorCarlos Martín Nieto <cmn@dwim.me>
Sun, 17 Nov 2013 22:26:49 +0000 (23:26 +0100)
committerCarlos Martín Nieto <cmn@dwim.me>
Mon, 9 Dec 2013 14:55:11 +0000 (15:55 +0100)
commit6f13a30565fc3891c0df161945097b316945fca7
tree81ef80d298be7a4b669ca9ff3176e616532783de
parent13c9e44af9424e1fc478693f0d64fbf7082c9665
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.
src/refdb_fs.c
src/refs.h
tests/refs/reflog/reflog.c