]> granicus.if.org Git - git/commitdiff
submodule.sh: remove unused variable
authorStefan Beller <sbeller@google.com>
Wed, 16 Aug 2017 22:50:42 +0000 (15:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Aug 2017 18:05:49 +0000 (11:05 -0700)
This could have been part of 48308681b0 (git submodule update: have a
dedicated helper for cloning, 2016-02-29).

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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