git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rebase interactive: Add hint how to continue after 'Unknown command' error
@ 2008-01-06 15:46 Steffen Prohaska
  2008-01-06 17:33 ` Wincent Colaiuta
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Prohaska @ 2008-01-06 15:46 UTC (permalink / raw)
  To: git; +Cc: Steffen Prohaska

rebase interactive asks the user to fix unknown commands but it did not
tell how to continue.

This commits adds a hint how to continue.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 git-rebase--interactive.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index acdcc54..d4bd811 100755
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -310,7 +310,7 @@ do_next () {
 		;;
 	*)
 		warn "Unknown command: $command $sha1 $rest"
-		die_with_patch $sha1 "Please fix this in the file $TODO."
+		die_with_patch $sha1 "Please fix this in the file $TODO. And run 'git rebase --continue'."
 		;;
 	esac
 	test -s "$TODO" && return
-- 
1.5.4.rc2.26.g1deb

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-06 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-06 15:46 [PATCH] rebase interactive: Add hint how to continue after 'Unknown command' error Steffen Prohaska
2008-01-06 17:33 ` Wincent Colaiuta
2008-01-06 19:50   ` David Brown
2008-01-06 20:14     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).