Update mailmap for a handful of folks
[gitweb.git] / git-submodule.sh
index 08405249edfedba744a36e9e653320b0948b2746..3e2045e52daf43cc351af23af0fd770fb1a5044f 100755 (executable)
@@ -603,7 +603,7 @@ Maybe you want to use 'update --init'?")"
                        die "$(eval_gettext "Unable to find current revision in submodule path '\$sm_path'")"
                fi
 
-               if test "$subsha1" != "$sha1"
+               if test "$subsha1" != "$sha1" -o -n "$force"
                then
                        subforce=$force
                        # If we don't already have a -f flag and the submodule has never been checked out