diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2022-02-23 16:23:03 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-23 16:41:55 -0800 |
commit | 290eada0ac9d374501fa24268c2e1ec8b8924358 (patch) | |
tree | 368be9448da0ddbe3e747493e0c1617c8b93f299 /t/t5411/test-0000-standard-git-push.sh | |
parent | The sixth batch (diff) | |
download | tgif-290eada0ac9d374501fa24268c2e1ec8b8924358.tar.xz |
ls-files: support --recurse-submodules --stage
e77aa336f1 ("ls-files: optionally recurse into submodules", 2016-10-10)
taught ls-files the --recurse-submodules argument, but only in a limited
set of circumstances. In particular, --stage was unsupported, perhaps
because there was no repo_find_unique_abbrev(), which was only
introduced in 8bb95572b0 ("sha1-name.c: add
repo_find_unique_abbrev_r()", 2019-04-16). This function is needed for
using --recurse-submodules with --stage.
Now that we have repo_find_unique_abbrev(), teach support for this
combination of arguments.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/test-0000-standard-git-push.sh')
0 files changed, 0 insertions, 0 deletions