diff --git a/git-am.sh b/git-am.sh index 6cdd5910db..f1a03c9128 100755 --- a/git-am.sh +++ b/git-am.sh @@ -507,6 +507,8 @@ else fi fi +git update-index -q --refresh + case "$resolved" in '') case "$HAS_HEAD" in