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

Re: [StGit PATCH] It doesn't make sense to sink below an unapplied patch

From
Karl Hasselström <kha@treskal.com>
Date
Sep 17, 2007, 09:49 UTC
Message-ID
<20070917094928.GC8657@diana.vm.bytemark.co.uk>
In-Reply-To
<87veaab93v.fsf@morpheus.local>
On 2007-09-16 23:20:36 +0200, David Kågedal wrote:
Show 9 quoted lines
> Karl Hasselström <kha@treskal.com> writes:
>
> > Another idea that's been kicked around is to have a general
> > reorder command, that spawns an editor and lets you move around
> > (and delete) patch names until you're satisfied. (This too would
> > be implemented in terms of push and pop of single patches.)
>
> This of course sounds very much like "git rebase -i", but the
> semantics would maybe not be identical.
For one, the StGit version would have to update StGit's metadata. :-)
> One feature from rebase I'd like to see if this was implemented is
> the "squash" option to join two patches. But it would probably be
> called "fold" to keep with stgit terminology.

I actually started to write such a command this weekend, but I didn't have time to finish it. I did however come to the conclusion that I'd want to refactor the relationship between patches and commits first. (Which was why I was so pleasantly surprised that you spent part of the weekend doing precisely that!)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: David KågedalNext: Jon Smirl
Message 3 of 4 in “Re: [StGit PATCH] It doesn't make sense to sink below an unapplied patch”
  1. Karl HasselströmSep 15, 2007
  2. David KågedalSep 16, 2007
  3. Karl HasselströmSep 17, 2007
  4. Jon SmirlSep 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.