The wrong output roughly is as follows: @@ -a,b +c,d @@ @@ -e,f +g,h @@ some red, green and black text more red, green and black text When it should be: @@ -a,b +c,d @@ some red, green and black text @@ -e,f +g,h @@ 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(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html