diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2022-02-24 01:23:03 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-24 01:41:55 +0100 |
commit | 290eada0ac9d374501fa24268c2e1ec8b8924358 (patch) | |
tree | 368be9448da0ddbe3e747493e0c1617c8b93f299 /sequencer.h | |
parent | The sixth batch (diff) | |
download | git-290eada0ac9d374501fa24268c2e1ec8b8924358.tar.xz git-290eada0ac9d374501fa24268c2e1ec8b8924358.zip |
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 'sequencer.h')
0 files changed, 0 insertions, 0 deletions