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

[PATCH] additional help when editing during interactive rebase

From
WMWilliam Morgan <wmorgan-git@masanjin.net>
Date
Jan 9, 2008, 03:29 UTC
Message-ID
<1199849225-sup-6981@south>
In-Reply-To
<7vsl17pv1c.fsf@gitster.siamese.dyndns.org>

Let the user know how to continue a rebase after amending a commit during a git rebase --interactive session.

Signed-off-by: William Morgan <wmorgan@masanjin.net>
---
 git-rebase--interactive.sh |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index acdcc54..ccef1ac 100755
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -258,11 +258,10 @@ do_next () {
 			die_with_patch $sha1 "Could not apply $sha1... $rest"
 		make_patch $sha1
 		: > "$DOTEST"/amend
-		warn
 		warn "You can amend the commit now, with"
-		warn
 		warn "	git commit --amend"
-		warn
+		warn "Once amended, continue with"
+		warn "	git rebase --continue"
 		exit 0
 		;;
 	squash|s)
-- 
1.5.4.rc2.69.g10f0

-- 
William <wmorgan-git@masanjin.net>
Previous: Junio C HamanoNext: Johannes Schindelin
Message 3 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.