From: Junio C Hamano Date: Wed, 3 Aug 2016 22:10:26 +0000 (-0700) Subject: Merge branch 'mm/status-suggest-merge-abort' X-Git-Tag: v2.10.0-rc0~63 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5a2f4d3eef5c69ceb94bf25b7a1fb38a2af24921 Merge branch 'mm/status-suggest-merge-abort' "git status" learned to suggest "merge --abort" during a conflicted merge, just like it already suggests "rebase --abort" during a conflicted rebase. * mm/status-suggest-merge-abort: status: suggest 'git merge --abort' when appropriate --- 5a2f4d3eef5c69ceb94bf25b7a1fb38a2af24921 diff --cc wt-status.c index 19cbc3939c,f6f112b48c..3175ec6ddb --- a/wt-status.c +++ b/wt-status.c @@@ -948,11 -946,13 +948,14 @@@ static void show_merge_in_progress(stru { if (has_unmerged(s)) { status_printf_ln(s, color, _("You have unmerged paths.")); - if (s->hints) + if (s->hints) { status_printf_ln(s, color, - _(" (fix conflicts and run \"git commit\")")); + _(" (fix conflicts and run \"git commit\")")); + status_printf_ln(s, color, + _(" (use \"git merge --abort\" to abort the merge)")); + } } else { + s-> commitable = 1; status_printf_ln(s, color, _("All conflicts fixed but you are still merging.")); if (s->hints)