The wrong output roughly is as follows:
some red, green and black text
more red, green and black text
When it should be:
some red, green and black text
more red, green and black text
Markus Heidelberg (3):
t4034-diff-words: add a test for word diff without context
diff: move the handling of the hunk header after the changed lines
diff: fix the location of hunk headers for "git diff --color-words
-U0"
diff.c | 40 +++++++++++++++++++++++-----------------
t/t4034-diff-words.sh | 20 ++++++++++++++++++++
2 files changed, 43 insertions(+), 17 deletions(-)