From: Catalin Marinas Date: Mon, 25 Sep 2006 12:47:38 GMT Subject: Re: git pull for update of netdev fails. Message-ID: In-Reply-To: <20060924205455.GA20017@pasky.or.cz> On 24/09/06, Petr Baudis wrote: > Dear diary, on Sat, Sep 23, 2006 at 03:10:17PM CEST, I got a letter > where Catalin Marinas said that... > > I wasn't following this thread (well, any thread in the last days) but > > the current patch history implementation in StGIT is prune-safe as it > > generates additional commits to keep the history. If you undo an > > operation (push, refresh), the undo will be recorded in the patch > > history (that's really immutable) > > It does not directly reference the history in the additional commits > though, it just mentions the sha1 in the log message - that is not > prune-safe: Yes, indeed (I'm still tired :-)). The patch changes are safe and one could probably generate the patch from them but it's a bit more complicated. The quick solution is to add another parent to the changelog commit so that it points to the patch. However, this wouldn't look as nice with gitk as it sees them as merges and doesn't display the diff (is there an option I missed?). -- Catalin