SIGN IN SIGN UP
dandavison / delta UNCLAIMED

A syntax-highlighting pager for git, diff, grep, and blame output

0 0 40 Rust

Handle ambiguous diff header, '--- ' can also be present in a minus hunk

`diff -u file1 file2` output starts with '--- file1', a '-- 12' line
being removed results in '--- 12', which was interpreted as the start of
a new diff. Now the number of removed lines announced in the header as e.g.
'@@ -1,4 +1,3 @@' is taken into account for this specific diff input.
T
Thomas Otto committed
08ec386f2517ea25c8810be924847fe54018a023
Parent: 5c53c5e
Committed by Dan Davison <dandavison7@gmail.com> on 8/15/2024, 11:02:13 AM