diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-11 10:33:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-11 10:33:30 -0700 |
commit | 785514bb5544fbe2604ea657530134671f82e4b1 (patch) | |
tree | 9d532ce1491690315135d93f0a830e98d61c50c9 | |
parent | Merge branch 'jk/make-simplify-dependencies' (diff) | |
parent | merge, pull: stop advising 'commit -a' in case of conflict (diff) | |
download | tgif-785514bb5544fbe2604ea657530134671f82e4b1.tar.xz |
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
-rw-r--r-- | advice.c | 3 | ||||
-rwxr-xr-x | git-pull.sh | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -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; } diff --git a/git-pull.sh b/git-pull.sh index 18a394fcc4..4d4fc77b05 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -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 |