]> git.ipfire.org Git - thirdparty/git.git/commit
sparse-checkout: disallow --no-stdin as an argument to set
authorElijah Newren <newren@gmail.com>
Tue, 14 Dec 2021 04:09:06 +0000 (04:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2021 19:48:21 +0000 (11:48 -0800)
commitf85751a147996f7f0a8edf3ea2a00217c9ddfc99
tree62900f509f657c6ebe0b2660ad435a951b091e0b
parent45c5e47048a89e08a9e844bcf976401af8b60478
sparse-checkout: disallow --no-stdin as an argument to set

We intentionally added --stdin as an option to `sparse-checkout set`,
but didn't intend for --no-stdin to be permitted as well.

Reported-by: Victoria Dye <vdye@github.com>
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>
builtin/sparse-checkout.c