Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
test: resurrect q_to_tab
author
Junio C Hamano
<gitster@pobox.com>
Fri, 29 Mar 2013 20:38:28 +0000
(13:38 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 29 Mar 2013 20:38:28 +0000
(13:38 -0700)
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>
t/test-lib-functions.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
250b3c6
)
diff --git
a/t/test-lib-functions.sh
b/t/test-lib-functions.sh
index dc070f8d58624e92671b97903b72c309431ebcdc..4a8bac282bee1253fe9b26e78c1cf3bfc0d7fec0 100644
(file)
--- 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'
}