diff options
| author | Thomas Otto <th1000s@posteo.net> | 2024-08-04 20:53:34 +0200 |
|---|---|---|
| committer | Dan Davison <dandavison7@gmail.com> | 2024-08-15 07:02:13 -0400 |
| commit | 08ec386f2517ea25c8810be924847fe54018a023 (patch) | |
| tree | 15d39c51f71b79735021f8531edff433a9593030 /.github | |
| parent | 5c53c5e3d955c4f993503bfdd4dc82b436017d22 (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
