Re: RFC: grafts generalised
From: Stephen R. van den Berg <hidden>
Date: 2016-06-15 22:44:52
Dmitry Potapov wrote:
On Wed, Jul 2, 2008 at 10:10 PM, Stephen R. van den Berg [off-list ref] wrote:quoted
In that case, I will stick to extending git fsck to check grafts more rigorously and fix git clone to *refrain* from looking at grafts.
Linus suggested that "git-fsck and repacking should just consider it[grafts] to be an _additional_ source of parenthood rather than a _replacement_ source."
http://article.gmane.org/gmane.comp.version-control.git/84686
Yes, I know that's what he suggested, the way it should be implemented
IMO though is by checking once without and once with regard to grafts.
And still it should be such that git clone disregards grafts completely.
I'll fix both, eventually, since I need this functionality to verify
correctness for the projects I'm working on at the moment.
As for repack, it should probably ignore grafts, except for reference.
I.e. repack/gc should consider all mentioned SHA1s in the grafts file
to be referenced and undeletable.
--
Sincerely,
Stephen R. van den Berg.
You are confused; but this is your normal state.