summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThomas Otto <th1000s@posteo.net>2024-08-04 20:53:34 +0200
committerDan Davison <dandavison7@gmail.com>2024-08-15 07:02:13 -0400
commit08ec386f2517ea25c8810be924847fe54018a023 (patch)
tree15d39c51f71b79735021f8531edff433a9593030 /.github
parent5c53c5e3d955c4f993503bfdd4dc82b436017d22 (diff)
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.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions