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

Re: git rebase interactive: usability issue

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 26, 2008, 02:17 UTC
Message-ID
<alpine.DEB.1.00.0806260416410.4503@eeepc-johanness>
In-Reply-To
<20080625233208.GE5737@dpotapov.dyndns.org>
Hi,
On Thu, 26 Jun 2008, Dmitry Potapov wrote:
> -- >8 --
> From: Dmitry Potapov <dpotapov@gmail.com>
> Date: Wed, 25 Jun 2008 23:23:22 +0400
> Subject: [PATCH] don't allow 'commit --amend' during rebase conflict resolution

This is a very funny way to interpret the SubmittingPatches document. Just stating a fact here.

Show 7 quoted lines
> Running 'commit --amend' during git rebase is almost certainly a 
> mistake, which causes that two consequent patches are squashed together. 
> Moreover, the commit message of the second commit is silently lost. It 
> is almost certainly not what the user expects. In that very unlikely 
> case when you really want to combine two patches during rebase conflict 
> resolution, you can do that using "git reset --soft HEAD^" followed by 
> "git commit".
NACK.
You just broke the 'edit' command.

Ciao, Dscho

Previous: Dmitry PotapovNext: Junio C Hamano
Message 2 of 7 in “git rebase interactive: usability issue”
  1. Dmitry PotapovJun 25, 2008
  2. Johannes SchindelinJun 26, 2008
  3. Junio C HamanoJun 26, 2008
  4. Avery PennarunJun 26, 2008
  5. Dmitry PotapovJun 26, 2008
  6. Theodore TsoJun 26, 2008
  7. don't allow 'commit --amend' during rebase conflict resolutionDmitry Potapov, Jun 26, 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.