summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-08-16 15:50:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-17 11:05:49 -0700
commitc8d0c4fe9b7987e2d68eb2b639d0f4eb5f89599b (patch)
tree8f838c9c32a0204b0f8d75ec5ec4513e2cbb7464
parentGit 2.12.4 (diff)
downloadtgif-c8d0c4fe9b7987e2d68eb2b639d0f4eb5f89599b.tar.xz
submodule.sh: remove unused variable
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>
-rwxr-xr-xgit-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 136e26a2c8..6703fe9429 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -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