summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2020-02-11 15:02:22 +0000
committerJunio C Hamano <gitster@pobox.com>2020-02-11 08:47:13 -0800
commit4bf0c06c7169da61de489544207a7659ef31029f (patch)
tree294f4a269f74813fe5102f8ee394f94c8d2267b6 /builtin/commit.c
parent6fb705abcb6044f07954b486d71c05151262b6b6 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions