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

From: Junio C Hamano <[email-masked]>
Date: Thu, 06 Mar 2014 15:26:06 -0800

Martin Langhoff <[email-masked]> 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
> --keep-real-parents=idontthinkso ?
>
> cheers,

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.