summaryrefslogtreecommitdiff
path: root/t/t9601
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-12-14 04:09:03 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-15 11:48:21 -0800
commit1530ff3553c197ae04b5d9363e2c2b1f7d4198e1 (patch)
tree46494eb640d758e0c46cfc88682950e75ec74e49 /t/t9601
parentThe first batch to start the current cycle (diff)
downloadtgif-1530ff3553c197ae04b5d9363e2c2b1f7d4198e1.tar.xz
sparse-checkout: pass use_stdin as a parameter instead of as a global
add_patterns_from_input() has relied on a global variable, set_opts.use_stdin, which has been used by both the `set` and `add` subcommands of sparse-checkout. Once we introduce an add_opts.use_stdin, the hardcoding of set_opts.use_stdin will be incorrect. Pass the value as function parameter instead to allow us to make subsequent changes. Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Victoria Dye <vdye@github.com> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9601')
0 files changed, 0 insertions, 0 deletions