Skip to content

Commit

Permalink
Merge branch 'jk/am-skip-hint'
Browse files Browse the repository at this point in the history
* jk/am-skip-hint:
  git-am: suggest what to do with superfluous patches
  • Loading branch information
Junio C Hamano committed Jun 18, 2010
2 parents 18fd805 + 05bdcfe commit af2fc76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit af2fc76

Please sign in to comment.