mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
discard revindex data when pack list changes
This is needed to fix verify-pack -v with multiple pack arguments. Also, in theory, revindex data (if any) must be discarded whenever reprepare_packed_git() is called. In practice this is hard to trigger though. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a81892dd8c
commit
4b480c6716
@@ -7,5 +7,6 @@ struct revindex_entry {
|
||||
};
|
||||
|
||||
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
|
||||
void discard_revindex(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user