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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]