Thread (8 messages) flat view 8 messages, 2 authors, 2016-06-15
STALE3747d

[PATCH 0/3] fix "git diff --color-words -U0"

From: Markus Heidelberg <hidden>
Date: 2016-06-15 22:47:37

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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help