[PATCH 0/3] fix "git diff --color-words -U0"
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Oct 28, 2009, 12:24 UTC
- Message-ID
- <1256732672-11817-1-git-send-email-markus.heidelberg@web.de>
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(-)