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

Re: [PATCH 2/2] Teach rebase an interactive mode

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 24, 2007, 10:12 UTC
Message-ID
<Pine.LNX.4.64.0706241109410.4059@racer.site>
In-Reply-To
<31A266F6-775E-41AE-B757-BF0DDAC6CAA5@silverinsanity.com>
Hi,
On Sat, 23 Jun 2007, Brian Gernhardt wrote:
Show 14 quoted lines
> On Jun 23, 2007, at 7:01 PM, Johannes Schindelin wrote:
> 
> > With "--interactive", git-rebase now lets you edit the list of patches
> > to be reapplied, so that you can reorder and/or delete patches.
> > 
> > Such a list will typically look like this:
> > 
> > 	pick deadbee The oneline of this commit
> > 	pick fa1afe1 The oneline of the next commit
> > 	...
> > 
> 
> It's not at all obvious from your commit message or the documentation 
> where this list comes from.

Oh, okay. I thought that this being just a mode for git-rebase, it would be obvious where that list comes from... Any idea how to state that more clearly?

> Is there a way to say "Oops, that's the wrong list.  Don't do 
> anything."?
It is not at all documented, but yes. Just delete the complete list.
> Perhaps starting the list with a header like the following would make it 
> more user-friendly (Obviously requires s/#.*$//):
All lines with "#" are ignored, yes.
Show 6 quoted lines
> # Rebasing $from..$to onto $commit
> #
> # Commands:
> #  pick = use commit
> #  squash = meld commit into previous
> # <<More useful information here>>

That's a very good idea! (I completely suck at descriptive texts.) Will fix.

Ciao, Dscho

Previous: Brian GernhardtNext: Junio C Hamano
Message 5 of 10 in “Teach rebase an interactive mode”
  1. 2/2 Teach rebase an interactive modeJohannes Schindelin, Jun 23, 2007
  2. Alex RiesenJun 23, 2007
  3. Johannes SchindelinJun 23, 2007
  4. Brian GernhardtJun 24, 2007
  5. Johannes SchindelinJun 24, 2007
  6. Junio C HamanoJun 24, 2007
  7. Johannes SchindelinJun 24, 2007
  8. 1/2 Move the pick_author code to git-sh-setupJohannes Schindelin, Jun 25, 2007
  9. 2/2 Teach rebase an interactive modeJohannes Schindelin, Jun 25, 2007
  10. Johannes SchindelinJun 24, 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.