summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-02-11 15:02:22 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-11 08:47:13 -0800
commit4bf0c06c7169da61de489544207a7659ef31029f (patch)
tree294f4a269f74813fe5102f8ee394f94c8d2267b6 /t
parentsparse-checkout: extract add_patterns_from_input() (diff)
downloadtgif-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