diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-18 11:16:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-18 11:16:56 -0700 |
commit | af2fc76b4a20e965e19de484b44aca0bef851daa (patch) | |
tree | e3de4522bca8f9707bb77911fa9fb64f65467c38 | |
parent | Merge branch 'jh/diff-index-line-abbrev' (diff) | |
parent | git-am: suggest what to do with superfluous patches (diff) | |
download | tgif-af2fc76b4a20e965e19de484b44aca0bef851daa.tar.xz |
Merge branch 'jk/am-skip-hint'
* jk/am-skip-hint:
git-am: suggest what to do with superfluous patches
-rwxr-xr-x | git-am.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -726,6 +726,8 @@ do resolved= git diff-index --quiet --cached HEAD -- && { echo "No changes - did you forget to use 'git add'?" + echo "If there is nothing left to stage, chances are that something else" + echo "already introduced the same changes; you might want to skip this patch." stop_here_user_resolve $this } unmerged=$(git ls-files -u) |