Merge branch 'sg/split-index-racefix' into maint
[gitweb.git] / git-submodule.sh
index f7fd80345cd991df4b17c6598d7dd7bd462424c7..1cb2c0a31b416f9db979cb86badac5f958792453 100755 (executable)
@@ -580,11 +580,6 @@ cmd_update()
                        die "$(eval_gettext "Unable to find current \${remote_name}/\${branch} revision in submodule path '\$sm_path'")"
                fi
 
-               if ! $(git config -f "$(git rev-parse --git-common-dir)/modules/$name/config" core.worktree) 2>/dev/null
-               then
-                       git submodule--helper connect-gitdir-workingtree "$name" "$sm_path"
-               fi
-
                if test "$subsha1" != "$sha1" || test -n "$force"
                then
                        subforce=$force