threads / discuss / 54221

"--color-moved" ignored in "git diff --word-diff=porcelain --color-moved"

Subject: "--color-moved" ignored in "git diff --word-diff=porcelain --color-moved"

## tl;dr

One message between Sep 10, 2020 and Sep 10, 2020.

replies: 0people: 1as markdown or json

Hans Henrik Bergan· Sep 10, 2020, 18:10 UTC · lore

using git 2.28.0, and when doing >>>git diff --color-moved --word-diff=porcelain lines.txt<<< the --color-moved argument seems to be completely ignored, and seems there's no way to differentiate moved lines from added/deleted lines in the output, is that intended? if the 2 arguments are incompatible, wouldn't it be better to throw an error? or at least print a warning in stderr? instead of just ignoring one of the arguments?

← back to recent threads