diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-22 11:26:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-22 11:26:56 -0700 |
commit | 21247455f328fcf26fc4f78134bcc6f8a676fa8a (patch) | |
tree | e2ffee5d17870e5cfd69fb0e915a3568c42dfd33 /t/test-lib-functions.sh | |
parent | 2c697a67b14d432b844e996243633711ef5f4b32 (diff) | |
parent | 329b26e0b4b2574960ee703eccdb0a7126a60505 (diff) | |
download | git-21247455f328fcf26fc4f78134bcc6f8a676fa8a.tar.gz |
Merge branch 'jc/apply-ws-fix-tab-in-indent' into maint
* jc/apply-ws-fix-tab-in-indent:
test: resurrect q_to_tab
apply --whitespace=fix: avoid running over the postimage buffer
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r-- | t/test-lib-functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index fa62d010f6..3fc9cc9288 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -91,6 +91,10 @@ q_to_tab () { tr Q '\011' } +qz_to_tab_space () { + tr QZ '\011\040' +} + append_cr () { sed -e 's/$/Q/' | tr Q '\015' } |