Re: [PATCH] [BUG] Add a test to check git-prune does not throw away revs hidden by a graft.
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 19, 2006, 19:00 UTC
- Message-ID
- <e4l4j1$vkq$1@sea.gmane.org>
- In-Reply-To
- <20060519185558.GE6535@nowhere.earth>
Yann Dirson wrote:
Show 13 quoted lines
> On Thu, May 18, 2006 at 03:53:36PM -0700, Junio C Hamano wrote: >> Yann Dirson <ydirson@altern.org> writes: >> >> > To make my point maybe more clear: if someone really wants to make a >> > graft permanent, wouldn't some history rewriting ... be the >> > way to go,... >> >> Yes. > > So if temporary usage is a typical use for grafts, don't we want to > protect people using them from pruning ? I got no feedback to my > suggestion of changing the default behaviour, even to say it was a bad > idea :)
Perhaps prune should be conservative by default, and follow both grafts and original parents, and use appropriate options to preserve or not preserve grafts.
-- Jakub Narebski Warsaw, Poland