diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2020-02-11 15:02:22 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-11 08:47:13 -0800 |
commit | 4bf0c06c7169da61de489544207a7659ef31029f (patch) | |
tree | 294f4a269f74813fe5102f8ee394f94c8d2267b6 /t | |
parent | sparse-checkout: extract add_patterns_from_input() (diff) | |
download | tgif-4bf0c06c7169da61de489544207a7659ef31029f.tar.xz |
sparse-checkout: extract pattern update from 'set' subcommand
In anticipation of adding "add" and "remove" subcommands to the
sparse-checkout builtin, extract a modify_pattern_list() method from the
sparse_checkout_set() method. This command will read input from the
command-line or stdin to construct a set of patterns, then modify the
existing sparse-checkout patterns after a successful update of the
working directory.
Currently, the only way to modify the patterns is to replace all of the
patterns. This will be extended in a later update.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions