]> git.ipfire.org Git - thirdparty/git.git/commit
t1092: clean up script quoting
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 30 Mar 2021 13:10:46 +0000 (13:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Mar 2021 19:57:45 +0000 (12:57 -0700)
commit4b3f765a2f38064c0bb221c76c7bb4f28f94a9dc
treead31e3c63b557e976a94c9bf7e7283ad7efd9799
parent0b5fcb08b5cbcf832b90cdc566bcf8084722a626
t1092: clean up script quoting

This test was introduced in 19a0acc83e4 (t1092: test interesting
sparse-checkout scenarios, 2021-01-23), but it contains issues with quoting
that were not noticed until starting this follow-up series. The old
mechanism would drop quoting such as in

   test_all_match git commit -m "touch README.md"

The above happened to work because README.md is a file in the
repository, so 'git commit -m touch REAMDE.md' would succeed by
accident.

Other cases included quoting for no good reason, so clean that up now.

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