From: Catalin Marinas Date: Sat, 03 Nov 2007 10:56:36 GMT Subject: Re: [StGit RFC] A more structured way of calling git Message-ID: In-Reply-To: <20071026192418.GA19774@diana.vm.bytemark.co.uk> On 26/10/2007, Karl Hasselström wrote: > I wanted to build an StGit command that coalesced adjacent patches to > a single patch. Because the end result tree would still be the same, > this should be doable without ever involving HEAD, the index, or the > worktree. Wouldn't HEAD need to be modified since the commit log changes slightly, even though the tree is the same. Or am I misunderstanding this? > StGit's existing infrastructure for manipulating patches > didn't lend itself to doing this kind of thing, though: it's not > modular enough. So I started to design a replacement low-level > interface to git, and things got slightly out of hand ... and I ended > up with a much bigger refactoring than I'd planned. Thanks for this. I'll need a bit of time to read it all and give feedback. In general, I welcome this refactoring. I'll go through the whole e-mail in the next days and get back to you. -- Catalin