summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-21 15:07:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-21 15:07:18 -0700
commit434a7764bab3b93eb2e1777ca86550e59f3e9300 (patch)
tree754d568009e4922aa89acba08a51798654404968
parentMerge branch 'nd/conditional-config-include' (diff)
parentsequencer: drop "warning:" when stopping for edit (diff)
downloadtgif-434a7764bab3b93eb2e1777ca86550e59f3e9300.tar.xz
Merge branch 'js/rebase-helper'
Recent update to "rebase -i" started showing a message that is not a warning with "warning:" prefix by mistake. This has been fixed. * js/rebase-helper: sequencer: drop "warning:" when stopping for edit
-rw-r--r--sequencer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 1f729b053b..8183a83c1f 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -1997,7 +1997,8 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
if (item->command == TODO_EDIT) {
struct commit *commit = item->commit;
if (!res)
- warning(_("stopped at %s... %.*s"),
+ fprintf(stderr,
+ _("Stopped at %s... %.*s"),
short_commit_name(commit),
item->arg_len, item->arg);
return error_with_patch(commit,