--- t/t4020-diff-external.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/t/t4020-diff-external.sh b/t/t4020-diff-external.sh index dfe3fbc..cf99912 100755 --- a/t/t4020-diff-external.sh +++ b/t/t4020-diff-external.sh @@ -99,6 +99,13 @@ test_expect_success 'no diff with -diff' ' git diff | grep Binary ' +test_expect_success 'textconv attribute' ' + git config textconv.echo.command echo + echo >.gitattributes "file textconv=echo" + + git diff | grep "^+file$" +' + echo NULZbetweenZwords | perl -pe 'y/Z/\000/' > file test_expect_success 'force diff with "diff"' ' -- 1.6.0.2.312.g1ef81a -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html