From 30459164cc221165a20cd4a54daac76ddb101269 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 26 Nov 2012 15:42:04 -0500 Subject: [PATCH] Hack fix for 'submodule update does not fetch already present commits' --- git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-submodule.sh b/git-submodule.sh index 28eb4b1a6..f4a681c58 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -640,7 +640,7 @@ Maybe you want to use 'update --init'?")" subforce="-f" fi - if test -z "$nofetch" + if test -z "$nofetch" -a "$subsha1" != "$sha1" then # Run fetch only if $sha1 isn't present or it # is not reachable from a ref. -- 2.26.2