summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-04 16:14:01 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-04 16:39:13 -0800
commitc9d256249375c7b8a1773139791448860b5789ff (patch)
tree3e32e9d26cab880b5f21ddec0df6c19dd34e4508 /remote-curl.c
parentsubmodule update: add tests for --filter (diff)
downloadtgif-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