aboutsummaryrefslogtreecommitdiffstats
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-28 15:49:59 -0700
committerJunio C Hamano <gitster@pobox.com>2020-04-28 15:49:59 -0700
commit27dd34b95e44b717e14e879a9b46ecdd5232632b (patch)
treea22be0804c49ea44249d98d1aea35f87c6ed7c81 /git-submodule.sh
parent6ae3c797883b1ce8d4138ce08f4ec4901e4dbe50 (diff)
parent65d100c4ddbe83953870be2e08566086e4b1cd3c (diff)
downloadgit-27dd34b95e44b717e14e879a9b46ecdd5232632b.tar.gz
Merge branch 'lx/submodule-clear-variables'
The "git submodule" command did not initialize a few variables it internally uses and was affected by variable settings leaked from the environment. * lx/submodule-clear-variables: git-submodule.sh: setup uninitialized variables
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 89f915cae9..08e0439df0 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -48,6 +48,8 @@ depth=
progress=
dissociate=
single_branch=
+jobs=
+recommend_shallow=
die_if_unmatched ()
{