aboutsummaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-08-16 15:50:42 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-17 11:05:49 -0700
commitc8d0c4fe9b7987e2d68eb2b639d0f4eb5f89599b (patch)
tree8f838c9c32a0204b0f8d75ec5ec4513e2cbb7464 /git-submodule.sh
parent3d9c5b5c4461957fbbc0479e037990db04ebb740 (diff)
downloadgit-c8d0c4fe9b7987e2d68eb2b639d0f4eb5f89599b.tar.gz
git-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>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 136e26a2c..6703fe942 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