]> git.ipfire.org Git - thirdparty/git.git/commit
t/t9902-completion.sh: backslashes in echo
authorMarcel Telka <marcel@telka.sk>
Fri, 17 May 2024 14:08:45 +0000 (16:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 May 2024 19:13:26 +0000 (12:13 -0700)
commitba1dec3257c5c8eb7edb71a16e5f642bf51d895d
treee35a3f5f212c9643767e5b8f7401a31b363ec549
parent0f063b6c766fc98124f60b6b0f8424142641ff88
t/t9902-completion.sh: backslashes in echo

The usage of backslashes in echo is not portable.  Since some tests
tries to output strings containing '\b' it is safer to use printf
here.  The usage of printf instead of echo is also preferred by POSIX.

Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh