name-rev: refactor logic to see if a new candidate is a better name
[gitweb.git] / sequencer.c
index 5f229197727b6455335d0cd93ec593c5e7e02ab8..d76dc9cb2b07227d311e4a667aaa5f0d305da45d 100644 (file)
@@ -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\n"),
                                                short_commit_name(commit),
                                                item->arg_len, item->arg);
                                return error_with_patch(commit,
@@ -2127,6 +2128,9 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
                }
                apply_autostash(opts);
 
+               fprintf(stderr, "Successfully rebased and updated %s.\n",
+                       head_ref.buf);
+
                strbuf_release(&buf);
                strbuf_release(&head_ref);
        }