summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-08-18 12:16:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-18 12:16:31 -0700
commit9c74b9440108c88802f656f2fad2e8950a4a7650 (patch)
treec5acfee167d5112fd2eb5c77628064bfb9593ce3 /t/test-lib.sh
parentMerge branch 'jn/fast-import-subtree' (diff)
parentrebase: protect against diff.renames configuration (diff)
downloadtgif-9c74b9440108c88802f656f2fad2e8950a4a7650.tar.xz
Merge branch 'jn/rebase-rename-am'
* jn/rebase-rename-am: rebase: protect against diff.renames configuration t3400 (rebase): whitespace cleanup Teach "apply --index-info" to handle rename patches t4150 (am): futureproof against failing tests t4150 (am): style fix
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index e8f21d577c..29fd7209cf 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -256,6 +256,10 @@ q_to_cr () {
tr Q '\015'
}
+q_to_tab () {
+ tr Q '\011'
+}
+
append_cr () {
sed -e 's/$/Q/' | tr Q '\015'
}