diff options
author | Glen Choo <chooglen@google.com> | 2022-03-04 16:14:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-04 16:39:13 -0800 |
commit | c9d256249375c7b8a1773139791448860b5789ff (patch) | |
tree | 3e32e9d26cab880b5f21ddec0df6c19dd34e4508 /remote-curl.c | |
parent | submodule update: add tests for --filter (diff) | |
download | tgif-c9d256249375c7b8a1773139791448860b5789ff.tar.xz |
submodule--helper update-clone: check for --filter and --init
"git submodule update --filter" also requires the "--init" option. Teach
update-clone to do this usage check in C and remove the check from
git-submodule.sh.
In addition, change update-clone's usage string so that it teaches users
about "git submodule update" instead of "git submodule--helper
update-clone" (the string is copied from git-submodule.sh). This should
be more helpful to users since they don't invoke update-clone directly.
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions