aboutsummaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
commit5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8 (patch)
treef2f8e30270d8231bd7591295e4ce2e9ecf7d0453 /sha1_file.c
parentbb0d283989ec8853ffd72dfb26ff557ffa7781e4 (diff)
parent4b480c6716a7d8e20e7e510827ea81e7939f335a (diff)
downloadgit-5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8.tar.gz
git-5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8.tar.xz
Merge branch 'np/verify-pack'
* np/verify-pack: discard revindex data when pack list changes
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 2aff59b90..9ee1ed16a 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -990,6 +990,7 @@ void prepare_packed_git(void)
void reprepare_packed_git(void)
{
+ discard_revindex();
prepare_packed_git_run_once = 0;
prepare_packed_git();
}