Re: [StGit RFC] A more structured way of calling git
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Nov 3, 2007, 10:56 UTC
- Message-ID
- <b0943d9e0711030356j4dcd31cbl54d838107240b3d0@mail.gmail.com>
- In-Reply-To
- <20071026192418.GA19774@diana.vm.bytemark.co.uk>
On 26/10/2007, Karl Hasselström <kha@treskal.com> 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?
Show 5 quoted lines
> 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