Re: [PATCH 2/2] git repack: keep commits hidden by a graft
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 24, 2009, 09:36 UTC
- Message-ID
- <alpine.DEB.1.00.0907241133080.19988@intel-tinevez-2-302>
- In-Reply-To
- <7veis6vfh5.fsf@alter.siamese.dyndns.org>
Hi,
On Thu, 23 Jul 2009, Junio C Hamano wrote:
> It would probably make more sense to call it "--keep-real-parents" or > something.
Much better.
> Do we want to cull duplicated parents? I do not think it matters in > this particular context of checking the reachability, but I am just > double checking if you thought about the issue.
I thought about it, and decided it is not worth the hassle: originally I had the option in setup_revisions() until I realized that this is never called by pack-objects. So how about this addition to the commit message:
As this behavior can only be triggered by git pack-objects, and as that command handles duplicate parents gracefully, we do not bother to cull such parents.
Ciao, Dscho