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
This commit is contained in:
3
advice.c
3
advice.c
@ -86,8 +86,7 @@ int error_resolve_conflict(const char *me)
|
||||
* other commands doing a merge do.
|
||||
*/
|
||||
advise(_("Fix them up in the work tree, and then use 'git add/rm <file>'\n"
|
||||
"as appropriate to mark resolution and make a commit, or use\n"
|
||||
"'git commit -a'."));
|
||||
"as appropriate to mark resolution and make a commit."));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ die_conflict () {
|
||||
if [ $(git config --bool --get advice.resolveConflict || echo true) = "true" ]; then
|
||||
die "$(gettext "Pull is not possible because you have unmerged files.
|
||||
Please, fix them up in the work tree, and then use 'git add/rm <file>'
|
||||
as appropriate to mark resolution, or use 'git commit -a'.")"
|
||||
as appropriate to mark resolution and make a commit.")"
|
||||
else
|
||||
die "$(gettext "Pull is not possible because you have unmerged files.")"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user