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

Re: [PATCH] additional help when editing during interactive rebase

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 9, 2008, 11:23 UTC
Message-ID
<alpine.LSU.1.00.0801091120150.31053@racer.site>
In-Reply-To
<7vsl17pv1c.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 8 Jan 2008, Junio C Hamano wrote:
Show 5 quoted lines
> I would have removed those empty lines around the instruction if I were 
> patching this, though.  Losing 5 lines out of 25-line terminal was 
> marginally Ok.  Losing 9 lines 4 lines too many and is unacceptable.
> 
> Thoughts?

I wonder if it would not make even more sense to record the current HEAD name, and call "commit --amend" if it is the same upon "--continue".

Note that "commit --amend" is _already_ called automatically if the index is dirty (but agrees with the working directory).

Then the user would be spared some additional typing, and the help could be changed to hint at "rebase --continue". It also would make things more consistent.

Ciao, Dscho

Previous: William MorganNext: Junio C Hamano
Message 4 of 6 in “additional help when editing during interactive rebase”
  1. additional help when editing during interactive rebaseWilliam Morgan, Jan 9, 2008
  2. Junio C HamanoJan 9, 2008
  3. additional help when editing during interactive rebaseWilliam Morgan, Jan 9, 2008
  4. Johannes SchindelinJan 9, 2008
  5. Junio C HamanoJan 11, 2008
  6. Johannes SchindelinJan 11, 2008

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.