From: Junio C Hamano Date: Fri, 29 Mar 2013 20:38:28 +0000 (-0700) Subject: test: resurrect q_to_tab X-Git-Tag: v1.8.2.2~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=329b26e0b4b2574960ee703eccdb0a7126a60505;p=git test: resurrect q_to_tab New test may want to use this helper; keep it for them that do not need to protect literal SP. Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index dc070f8d58..4a8bac282b 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -87,6 +87,10 @@ q_to_cr () { tr Q '\015' } +q_to_tab () { + tr Q '\011' +} + qz_to_tab_space () { tr QZ '\011\040' }