]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/test-lib.sh
Merge branch 'kb/maint-diff-ws-check' into maint
[git.git] / t / test-lib.sh
index 49527a675b15c05344e101de98b1d3335b9c983f..c6afebb00d02808f2a990347c8b0479d825cce5b 100644 (file)
@@ -281,6 +281,10 @@ test_decode_color () {
        '
 }
 
+nul_to_q () {
+       perl -pe 'y/\000/Q/'
+}
+
 q_to_nul () {
        perl -pe 'y/Q/\000/'
 }