summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-04-28 15:49:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-28 15:49:59 -0700
commit27dd34b95e44b717e14e879a9b46ecdd5232632b (patch)
treea22be0804c49ea44249d98d1aea35f87c6ed7c81 /git-submodule.sh
parentMerge branch 'jk/fast-import-use-hashmap' (diff)
parentgit-submodule.sh: setup uninitialized variables (diff)
downloadtgif-27dd34b95e44b717e14e879a9b46ecdd5232632b.tar.xz
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 ()
{