summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorRalf Thielow <ralf.thielow@gmail.com>2016-09-06 20:59:18 +0200
committerJunio C Hamano <gitster@pobox.com>2016-09-07 11:56:05 -0700
commit37875b4733973ba453abf30e8d48b12751797359 (patch)
tree7f91b71e317a633d4b5b792f7e2e0fc1fb43908c /git-rebase--interactive.sh
parent6ebdac1bab966b720d776aa43ca188fe378b1f4b (diff)
downloadgit-37875b4733973ba453abf30e8d48b12751797359.tar.gz
rebase -i: improve advice on bad instruction linesrt/rebase-i-broken-insn-advise
If we found bad instruction lines in the instruction sheet of interactive rebase, we give the user advice on how to fix it. However, we don't tell the user what to do afterwards. Give the user advice to run 'git rebase --continue' after the fix. Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase--interactive.sh')
-rw-r--r--git-rebase--interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 7e558b068c..02c9a1f3e4 100644
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -1041,7 +1041,7 @@ The possible behaviours are: ignore, warn, error.")"
# placed before the commit of the next action
checkout_onto
- warn "$(gettext "You can fix this with 'git rebase --edit-todo'.")"
+ warn "$(gettext "You can fix this with 'git rebase --edit-todo' and then run 'git rebase --continue'.")"
die "$(gettext "Or you can abort the rebase with 'git rebase --abort'.")"
fi
}