Re: [PATCH 3/3] Don't crash during repack of a reflog with pruned commits.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 22, 2006, 00:52 UTC
- Message-ID
- <7vmz5g92h7.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061222004906.GC14789@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> If the user has been using reflog for a long time (e.g. since its > introduction) then it is very likely that an existing branch's > reflog may still mention commits which have long since been pruned > out of the repository.
I've thought about this issue when I did the repack/prune; my take on this was you should prune reflog first then repack.