git-add --intent-to-add (-N)
[gitweb.git] / sha1_file.c
index 2aff59b90f9f290d1260eea1028585f738549d50..9ee1ed16ad2df8847bd5008a5d61c807c145357a 100644 (file)
@@ -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();
 }