Re: gc/repack has no option to lose grafted parents

2014-03-06 Thread Duy Nguyen
On Fri, Mar 7, 2014 at 6:36 AM, Martin Langhoff wrote: > On Thu, Mar 6, 2014 at 6:26 PM, Junio C Hamano wrote: >> Given that we in general frown upon long-term use of grafts (or >> "replace" for that matter), I am not sure if we want to go in that >> direction. >> >> Just a knee-jerk reaction, th

Re: gc/repack has no option to lose grafted parents

2014-03-06 Thread Martin Langhoff
On Thu, Mar 6, 2014 at 6:26 PM, Junio C Hamano wrote: > Given that we in general frown upon long-term use of grafts (or > "replace" for that matter), I am not sure if we want to go in that > direction. > > Just a knee-jerk reaction, though. Fair enough. If I state my actual goals -- discarding o

Re: gc/repack has no option to lose grafted parents

2014-03-06 Thread Junio C Hamano
Martin Langhoff writes: > Back in > http://git.661346.n2.nabble.com/PATCH-0-2-Make-git-gc-more-robust-with-regard-to-grafts-td3310281.html > we got gc/repack to be safer for users who might be shooting > themselves in the foot. > > Would a patch be welcome to add --discard-grafted-objects ? or >

gc/repack has no option to lose grafted parents

2014-03-06 Thread Martin Langhoff
Back in http://git.661346.n2.nabble.com/PATCH-0-2-Make-git-gc-more-robust-with-regard-to-grafts-td3310281.html we got gc/repack to be safer for users who might be shooting themselves in the foot. Would a patch be welcome to add --discard-grafted-objects ? or --keep-real-parents=idontthinkso ? ch