Re: To graft or not to graft... (Re: Recovering from repository corruption)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johan Herland wrote:
>I can only draw the conclusion that with current versions of Git, repos 
>with grafts should _never_ be made public.

Correct.

I still prefer my original suggestion, i.e. allow repos with grafts to
be cloned, yet disregard the grafts during the cloning process.
The trouble is that with your suggestion, it becomes a bit convoluted
when grafts are being used and when not.  It already is complicated as
it is, so I suggest we try and keep git honest so that it does exactly
what one would expect (instead of documenting awkward behaviour).

As soon as time permits, I'll submit appropriate patches to implement
this, as well as some other sanity check patches which I've been
contemplating to help the grafter detect "bad" grafts as early as
possible.
-- 
Sincerely,
           Stephen R. van den Berg.

"Always look on the bright side of life!"
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux