diff options
| author | Dominique Martinet <dominique.martinet@atmark-techno.com> | 2026-07-08 03:33:42 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-08 10:48:46 -0700 |
| commit | ff1da37f58e754a29dff0df03d58b1042a4d5654 (patch) | |
| tree | ef88c2a618b3b6753cd6cc6556ef3fa780f5b635 /commit.h | |
| parent | e9019fcafe0040228b8631c30f97ae1adb61bcdc (diff) | |
submodule--helper: accept '-i' shorthand for update --init
commit 3ad0ba722744 ("git-submodule.sh: improve variables readability")
made `git submodules update -i` pass `-i` as is to submodule--helper,
but it fails with `error: unknown switch `i'` because the helper does
not accept the short option.
All other short options supported by git-submodule.sh are properly
handle in the helper, so also add the alias for --init
Fixes: 3ad0ba722744 ("git-submodule.sh: improve variables readability")
Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
