diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-12-21 09:59:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-26 23:15:58 +0300 |
commit | 53ded839aee86e3544c3e035385fe2ada33180b1 (patch) | |
tree | 11c1a6c977410ad3598aab411bed4b055a514eb0 /t/t7700-repack.sh | |
parent | 564d0252ca632e0264ed670534a51d18a689ef5d (diff) |
sparse-checkout: use default patterns for 'set' only !stdin
"git sparse-checkout set ---no-cone" uses default patterns when none
is given from the command line, but it should do so ONLY when
--stdin is not being used. Right now, add_patterns_from_input()
called when reading from the standard input is sloppy and does not
check if there are extra command line parameters that the command
will silently ignore, but that will change soon and not setting this
unnecessary and unused default patterns start to matter when it gets
fixed.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7700-repack.sh')
0 files changed, 0 insertions, 0 deletions