diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:22 -0700 |
commit | a70f4cb5b06856d5999352930b97fdfc96105954 (patch) | |
tree | a41a14a1609753586c3e1027646da0651e7bcda7 /t/test-lib-functions.sh | |
parent | 288e6ff5a64331e5da1dd9d978938b44d50f5be9 (diff) | |
parent | 329b26e0b4b2574960ee703eccdb0a7126a60505 (diff) | |
download | git-a70f4cb5b06856d5999352930b97fdfc96105954.tar.gz |
Merge branch 'jc/apply-ws-fix-tab-in-indent'
"git apply --whitespace=fix" was not prepared to see a line getting
longer after fixing whitespaces (e.g. tab-in-indent aka Python).
* 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 61d0804435..42c2258b4f 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' } |