X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-revert.sh;h=c19d3a6916ce9c5dccff09f6edfd8b5478b2e834;hb=97d4df0b29d262df291985aed486e226b43132d0;hp=2c5870684c9a0993116a86a511a0e9998a27b621;hpb=90768daaa006516c7ae69ed89d7c2e67243dfac1;p=git.git diff --git a/git-revert.sh b/git-revert.sh index 2c587068..c19d3a69 100755 --- a/git-revert.sh +++ b/git-revert.sh @@ -141,8 +141,9 @@ git-read-tree -m -u $base $head $next && result=$(git-write-tree 2>/dev/null) || { echo >&2 "Simple $me fails; trying Automatic $me." git-merge-index -o git-merge-one-file -a || { - echo >&2 "Automatic $me failed. After fixing it up," - echo >&2 "you can use \"git commit -F .msg\"" + echo >&2 "Automatic $me failed. After resolving the conflicts," + echo >&2 "mark the corrected paths with 'git-update-index '" + echo >&2 "and commit with 'git commit -F .msg'" case "$me" in cherry-pick) echo >&2 "You may choose to use the following when making"