sparse-checkout: use C-style quotes in 'list' subcommand
commite55682ea2640dd3aa002a2657c32bdd1d85b44e9
authorDerrick Stolee <dstolee@microsoft.com>
Fri, 31 Jan 2020 20:16:12 +0000 (31 20:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jan 2020 21:05:29 +0000 (31 13:05 -0800)
treec9fa0d126b1261bf9c78390a1018945819a84862
parentbd64de42de28e5cdda7765d5de1c3ed34d4898cb
sparse-checkout: use C-style quotes in 'list' subcommand

When in cone mode, the 'git sparse-checkout list' subcommand lists
the directories included in the sparse cone. When these directories
contain odd characters, such as a backslash, then we need to use
C-style quotes similar to 'git ls-tree'.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/sparse-checkout.c
t/t1091-sparse-checkout-builtin.sh