git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [StGit RFC] A more structured way of calling git

From
CMCatalin 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
Previous: Karl HasselströmNext: Yann Dirson
Message 2 of 8 in “[StGit RFC] A more structured way of calling git”
  1. Karl HasselströmOct 26, 2007
  2. Catalin MarinasNov 3, 2007
  3. Yann DirsonNov 3, 2007
  4. Karl HasselströmNov 4, 2007
  5. Karl HasselströmNov 4, 2007
  6. Catalin MarinasNov 15, 2007
  7. Karl HasselströmNov 16, 2007
  8. Karl HasselströmNov 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.