Skip to content

Commit 785514b

Browse files
committed
Merge branch 'mm/discourage-commit-a-to-finish-conflict-resolution'
* mm/discourage-commit-a-to-finish-conflict-resolution: merge, pull: stop advising 'commit -a' in case of conflict
2 parents 683b4d8 + 91e70e0 commit 785514b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

advice.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ int error_resolve_conflict(const char *me)
8686
* other commands doing a merge do.
8787
*/
8888
advise(_("Fix them up in the work tree, and then use 'git add/rm <file>'\n"
89-
"as appropriate to mark resolution and make a commit, or use\n"
90-
"'git commit -a'."));
89+
"as appropriate to mark resolution and make a commit."));
9190
return -1;
9291
}
9392

git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ die_conflict () {
2020
if [ $(git config --bool --get advice.resolveConflict || echo true) = "true" ]; then
2121
die "$(gettext "Pull is not possible because you have unmerged files.
2222
Please, fix them up in the work tree, and then use 'git add/rm <file>'
23-
as appropriate to mark resolution, or use 'git commit -a'.")"
23+
as appropriate to mark resolution and make a commit.")"
2424
else
2525
die "$(gettext "Pull is not possible because you have unmerged files.")"
2626
fi

0 commit comments

Comments
 (0)