diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2018-04-15 21:16:09 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-16 05:40:56 +0300 |
commit | 541d059cd903bb8e510f876ea2bc33719b76b33c (patch) | |
tree | 211bc54090caee4b0d101ad95b904415d7874664 /t/t0028-working-tree-encoding.sh | |
parent | 7a17918c34f4e83982456ffe22d880c3cda5384f (diff) |
convert: add tracing for 'working-tree-encoding' attribute
Add the GIT_TRACE_WORKING_TREE_ENCODING environment variable to enable
tracing for content that is reencoded with the 'working-tree-encoding'
attribute. This is useful to debug encoding issues.
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0028-working-tree-encoding.sh')
-rwxr-xr-x | t/t0028-working-tree-encoding.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t0028-working-tree-encoding.sh b/t/t0028-working-tree-encoding.sh index a318d03232..026544ce09 100755 --- a/t/t0028-working-tree-encoding.sh +++ b/t/t0028-working-tree-encoding.sh @@ -4,6 +4,8 @@ test_description='working-tree-encoding conversion via gitattributes' . ./test-lib.sh +GIT_TRACE_WORKING_TREE_ENCODING=1 && export GIT_TRACE_WORKING_TREE_ENCODING + test_expect_success 'setup test files' ' git config core.eol lf && |