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 <gitster@pobox.com>

Junio C Hamano committed Mar 29, 2013 at 13:38 UTC 329b26e0b4b2574960ee703eccdb0a7126a60505
1 file changed +4
t/test-lib-functions.sh
+4
@@ -87,6 +87,10 @@ q_to_cr () {
87 tr Q '\015'
88 }
89
90 +q_to_tab () {
91 + tr Q '\011'
92 +}
93 +
94 qz_to_tab_space () {
95 tr QZ '\011\040'
96 }