summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-08 16:46:33 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-08 16:50:27 +0100
commitd578b45f3fc8a95a279aa7dcf1a3585d5d7c1eab (patch)
tree240383fae22414a949c8de3f13bc02a65f2da5be /src/odb.h
parent01c3b184d38e6a89a3dedeec735078d7bc6eaa5f (diff)
downloadlibgit2-cmn/rename-reflog.tar.gz
refdb: use the same id for old and new when renaming a referencecmn/rename-reflog
When we rename a reference, we want the old and new ids to be the same one (as we did not change it). The normal code path looks up the old id from the current value of the brtanch, but by the time we look it up, it does not exist anymore and thus we write a zero id. Pass the old id explicitly instead.
Diffstat (limited to 'src/odb.h')
0 files changed, 0 insertions, 0 deletions