Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'np/maint-safer-pack' into np/pack
[gitweb.git]
/
builtin-verify-pack.c
diff --git
a/builtin-verify-pack.c
b/builtin-verify-pack.c
index f4ac595695b1fff1317ff7d14ea9427780327aea..25a29f11a4b9642c1bd367b81779d8f09ae04604 100644
(file)
--- a/
builtin-verify-pack.c
+++ b/
builtin-verify-pack.c
@@
-1,7
+1,7
@@
#include "builtin.h"
#include "cache.h"
#include "pack.h"
-
+#include "pack-revindex.h"
#define MAX_CHAIN 50
@@
-129,6
+129,7
@@
int cmd_verify_pack(int argc, const char **argv, const char *prefix)
else {
if (verify_one_pack(argv[1], verbose))
err = 1;
+ discard_revindex();
nothing_done = 0;
}
argc--; argv++;