]> git.proxmox.com Git - libgit2.git/commit - src/refdb_fs.c
reflog: handle the birth of a branch
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 19 Mar 2014 15:30:37 +0000 (16:30 +0100)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 19 Mar 2014 15:52:20 +0000 (16:52 +0100)
commit6aaae94a7060834a68f3fd24d8006dbfe769e04a
treed0a9531c535c7fdbacfc77206c558222d5ae2731
parentafc57eb48fc69d3e4808648c090aa6f91f9b29aa
reflog: handle the birth of a branch

The reflog append function was overzealous in its checking. When passed
an old and new ids, it should not do any checking, but just serialize
the data to a reflog entry.
src/refdb_fs.c
tests/repo/head.c