X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-pull.sh;h=75c36100a2f858bcf2663d2b4560654787963175;hb=7e4ad908721445b073f3b4ecad55bbd78f032cdc;hp=6afd4e2f4e5859728d748fe51f68e5bfcb934488;hpb=0513f241cc2d757371dc7ba6b065366de044862e;p=git.git diff --git a/git-pull.sh b/git-pull.sh index 6afd4e2f4..75c36100a 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -107,9 +107,9 @@ error_on_no_merge_candidates () { } test true = "$rebase" && { - git update-index --refresh && - git diff-files --quiet && - git diff-index --cached --quiet HEAD -- || + git update-index --ignore-submodules --refresh && + git diff-files --ignore-submodules --quiet && + git diff-index --ignore-submodules --cached --quiet HEAD -- || die "refusing to pull with rebase: your working tree is not up-to-date" . git-parse-remote &&