summaryrefslogtreecommitdiff
path: root/builtin-rerere.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-05-29 21:34:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-02 06:25:38 (GMT)
commit6241360498eb811d4bb130328b1d13241c5e14b6 (patch)
treef75cb182548abd11f55d1d444efb8839618cfa51 /builtin-rerere.c
parentd2b3691b61d516a0ad2bf700a2a5d9113ceff0b1 (diff)
downloadgit-6241360498eb811d4bb130328b1d13241c5e14b6.zip
git-6241360498eb811d4bb130328b1d13241c5e14b6.tar.gz
git-6241360498eb811d4bb130328b1d13241c5e14b6.tar.bz2
make verify-pack a bit more useful with bad packs
When a pack gets corrupted, its SHA1 checksum will fail. However, this is more useful to let the test go on in order to find the actual problem location than only complain about the SHA1 mismatch and bail out. Also, it is more useful to compare the stored pack SHA1 with the one in the index file instead of the computed SHA1 since the computed SHA1 from a corrupted pack won't match the one stored in the index either. Finally a few code and message cleanups were thrown in as a bonus. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rerere.c')
0 files changed, 0 insertions, 0 deletions