From 541d059cd903bb8e510f876ea2bc33719b76b33c Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Sun, 15 Apr 2018 20:16:09 +0200 Subject: 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 Signed-off-by: Junio C Hamano --- t/t0028-working-tree-encoding.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') 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 && -- cgit 1.2.3-korg