Skip to content

diff-highlight: make a few improvements

Jonathan Lebon git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4diff-highlight: add `less -r` to cmd in READMEcontrib/diff-highlight/README+3 -35 replies
2/4diff-highlight: factor out prefix/suffix functionscontrib/diff-highlight/diff-highlight+56 -421 reply
3/4diff-highlight: match up lines before highlightingcontrib/diff-highlight/README contrib/diff-highlight/diff-highlight+70 -744 replies
4/4diff-highlight: add maxhunksize config optioncontrib/diff-highlight/README contrib/diff-highlight/diff-highlight+36 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] diff-highlight: make a few improvements

These patches bring a few improvements to the contrib/diff-highlight Perl script. The major improvement is done in patch 3/4, which improves diff-highlighting accuracy by implementing a recursive line matching algorithm.

Please note that I have limited experience with Perl, so there may be better ways to do things. (Let me know if that is the case!)

Jonathan Lebon (4):
diff-highlight: add less -r to cmd in README
diff-highlight: factor out prefix/suffix functions
diff-highlight: match up lines before highlighting
diff-highlight: add maxhunksize config option

 contrib/diff-highlight/README         |  87 +++++-----------
 contrib/diff-highlight/diff-highlight | 189 ++++++++++++++++++++++++----------
 2 files changed, 161 insertions(+), 115 deletions(-)
Signature · 1 line
2.6.0