summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sha1_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 6e3fd180f9..5c6e964a35 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -396,6 +396,7 @@ static struct packed_git *add_packed_git(char *path, int path_len)
p->pack_size = st.st_size;
p->index_base = idx_map;
p->next = NULL;
+ p->pack_base = NULL;
p->pack_last_used = 0;
return p;
}