diff options
author | Elijah Newren <newren@gmail.com> | 2021-12-14 04:09:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 11:48:21 -0800 |
commit | 1530ff3553c197ae04b5d9363e2c2b1f7d4198e1 (patch) | |
tree | 46494eb640d758e0c46cfc88682950e75ec74e49 /compat/poll | |
parent | The first batch to start the current cycle (diff) | |
download | tgif-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 'compat/poll')
0 files changed, 0 insertions, 0 deletions