summaryrefslogtreecommitdiff
path: root/test-index-version.c
diff options
context:
space:
mode:
authorLibravatar Lukas Fleischer <git@cryptocrack.de>2013-03-07 01:56:35 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-07 13:33:56 -0800
commit71ba6b10f81ac8afcb0ba376f6691afe1269467c (patch)
tree9a6485b8e349895540e4491f4601503e30d74131 /test-index-version.c
parentGit 1.7.12.4 (diff)
downloadtgif-71ba6b10f81ac8afcb0ba376f6691afe1269467c.tar.xz
bundle: Fix "verify" output if history is complete
A more informative message for "complete" bundles was added in commit 8c3710fd3011 (tweak "bundle verify" of a complete history, 2012-06-04). However, the prerequisites ref list is currently read *after* we check if it equals zero, which means we never actually use the number of prerequisite refs to decide when to print the newly introduced message. The code incorrectly uses the number of references recorded in the bundle instead. Signed-off-by: Lukas Fleischer <git@cryptocrack.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-index-version.c')
0 files changed, 0 insertions, 0 deletions