submodule.sh: remove unused variable
[gitweb.git] / git-submodule.sh
index 136e26a2c8d4ca1e835e2873f3fd994864dc135e..6703fe9429221700d11cbbc0985bfda0c7ee4f8d 100755 (executable)
@@ -596,7 +596,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