Jens Lehmann <Jens.Lehmann@xxxxxx> writes: > diff --git a/git-submodule.sh b/git-submodule.sh > index 8b90589..ea49760 100755 > --- a/git-submodule.sh > +++ b/git-submodule.sh > @@ -465,7 +465,7 @@ cmd_update() > if test -z "$nofetch" > then > (clear_local_git_env; cd "$path" && > - git-fetch) || > + (git rev-parse --verify $sha1 >/dev/null || git-fetch)) || Exactly the same comment as the one for [5/6] applies here. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html