mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +01:00
Merge branch 'jk/am-skip-hint'
* jk/am-skip-hint: git-am: suggest what to do with superfluous patches
This commit is contained in:
commit
af2fc76b4a
1 changed files with 2 additions and 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)
|
||||
|
|
Loading…
Reference in a new issue