setup_temporary_shallow: avoid using inactive tempfile
[gitweb.git] / git-submodule.sh
index ffa2d66481ab2182a336082bb996d9b3bce32589..66d1ae8ef6c5f12c856a2f88eabce515dcafd489 100755 (executable)
@@ -611,7 +611,6 @@ cmd_update()
                die_if_unmatched "$mode" "$sha1"
 
                name=$(git submodule--helper name "$sm_path") || exit
-               url=$(git config submodule."$name".url)
                if ! test -z "$update"
                then
                        update_module=$update