mirror of
https://github.com/git/git.git
synced 2024-11-28 04:23:30 +08:00
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>
This commit is contained in:
parent
3d9c5b5c44
commit
c8d0c4fe9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user