Re: RFC: grafts generalised
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jul 3, 2008, 06:02 UTC
- Message-ID
- <486C6B8E.5040202@viscovery.net>
- In-Reply-To
- <20080702181021.GD16235@cuci.nl>
Stephen R. van den Berg schrieb:
Show 7 quoted lines
> Dmitry Potapov wrote: >> On second thought, it may be not necessary. You can extract an old commit >> object, edit it, put it into Git with a new SHA1, and then use the graft file to >> replace all references from an old to a new one. And you will be able to see >> changes immediately in gitk. > > Hmmmm, interesting thought. That just might solve my problem.
I don't think it would.
You want to apply a patch through a part of the history. To do that, it is not sufficient to apply the patch to only one commit/tree and then fake parenthood of its child commits. You still need to apply the patch to all children.
-- Hannes