diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-12-09 22:17:55 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-12-09 22:17:55 -0800 |
| commit | 7034cd094bda4edbcdff7fad1a28fcaaf9b9a040 (patch) | |
| tree | e0b837c5e5a2ea2fce3255ef59fd981e2bd30374 /git-submodule.sh | |
| parent | 559c6fc317f92a0a3994f816d3513cd322745852 (diff) | |
| parent | 53a06cf39b756eddfe4a2a34da93e3d04eb7b728 (diff) | |
| download | git-7034cd094bda4edbcdff7fad1a28fcaaf9b9a040.tar.xz | |
Sync with Git 2.24.1
Diffstat (limited to 'git-submodule.sh')
| -rwxr-xr-x | git-submodule.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index c7f58c5756..58713c5467 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -36,6 +36,7 @@ reference= cached= recursive= init= +require_init= files= remote= nofetch= @@ -466,6 +467,10 @@ cmd_update() -i|--init) init=1 ;; + --require-init) + init=1 + require_init=1 + ;; --remote) remote=1 ;; @@ -548,6 +553,7 @@ cmd_update() ${reference:+"$reference"} \ ${dissociate:+"--dissociate"} \ ${depth:+--depth "$depth"} \ + ${require_init:+--require-init} \ $recommend_shallow \ $jobs \ -- \ |
