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

Re: [PATCH] git-rebase -i: have an option for amending the commit message only.

From
OMOlivier Marin <dkr+ml.git@free.fr>
Date
Jun 11, 2008, 18:36 UTC
Message-ID
<48501B3D.3000405@free.fr>
In-Reply-To
<1213196490-7762-1-git-send-email-madcoder@debian.org>
Hi,
I like the feature and I have just two comments:
Pierre Habouzit a écrit :
>
> +	comment|c)
Is "comment" the right name? I'm not sure, I just ask.
Show 6 quoted lines
> +		comment_for_reflog comment
> +
> +		mark_action_done
> +		pick_one $sha1 ||
> +			die_with_patch $sha1 "Could not apply $sha1... $rest"
> +		output git commit --no-verify --amend -e -C HEAD

It does not work with an editor that opens in the current terminal like vi. Just remove "output" should fix the problem, I think.

Olivier.
Previous: Pierre HabouzitNext: Pierre Habouzit
Message 3 of 5 in “git-rebase -i: have an option for amending the commit message only.”
  1. git-rebase -i: have an option for amending the commit message only.Pierre Habouzit, Jun 11, 2008
  2. git-rebase -i: improve help readabilityPierre Habouzit, Jun 11, 2008
  3. Olivier MarinJun 11, 2008
  4. Pierre HabouzitJun 11, 2008
  5. Stephan BeyerJun 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.