summaryrefslogtreecommitdiff
path: root/tests/diff/pathspec.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-03-18 19:41:03 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-03-18 19:58:52 +0100
commitbac95e6e1e99b1e364c5ebd39887a8e24bc1ad9d (patch)
treeccbbd903a453f88cca47da9e8fbac4c9a87e8715 /tests/diff/pathspec.c
parent5dd7d2432ed77651110bcbb37479b2d4e5b01b19 (diff)
downloadlibgit2-bac95e6e1e99b1e364c5ebd39887a8e24bc1ad9d.tar.gz
reflog: more comprehensive HEAD tests
The existing ones lack checking zeroed ids when switching back from an unborn branch as well as what happens when detaching. The reflog appending function mistakenly wrote zeros when dealing with a detached HEAD. This explicitly checks for those situations and fixes them.
Diffstat (limited to 'tests/diff/pathspec.c')
0 files changed, 0 insertions, 0 deletions