This was causing random segfaults, because use_packed_git() got confused by random garbage there. Signed-off-by: Junio C Hamano <junkio@cox.net> --- sha1_file.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) facb119577a28bbb3f2ac1e5f8db37fd2f6d31d8 diff --git a/sha1_file.c b/sha1_file.c --- a/sha1_file.c +++ b/sha1_file.c @@ -395,6 +395,7 @@ static struct packed_git *add_packed_git 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; } ------------ - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Jun 29 08:00:54 2005
This archive was generated by hypermail 2.1.8 : 2005-06-29 08:01:27 EST