diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2018-11-23 11:16:53 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-10 10:38:03 -0800 |
commit | 10acc5f750789fcfd38e43810f2c372b134a807c (patch) | |
tree | 71ad39941f772bc6086d54495a90f4b2eefd7ff5 /t/t4013/diff.diff-tree_--cc_master | |
parent | diff: allow --no-color-moved-ws (diff) | |
download | tgif-10acc5f750789fcfd38e43810f2c372b134a807c.tar.xz |
diff --color-moved-ws: demonstrate false positives
'diff --color-moved-ws=allow-indentation-change' can highlight lines
that have internal whitespace changes rather than indentation
changes. For example in commit 1a07e59c3e ("Update messages in
preparation for i18n", 2018-07-21) the lines
- die (_("must end with a color"));
+ die(_("must end with a color"));
are highlighted as moved when they should not be. Modify an existing
test to show the problem that will be fixed in the next commit.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_master')
0 files changed, 0 insertions, 0 deletions