Skip to content

Parse consecutive added files sharing /dev/null source (#143) - #144

Merged
matiasb merged 2 commits into
mainfrom
fix-multiple-added-files
Aug 7, 2026
Merged

Parse consecutive added files sharing /dev/null source (#143)#144
matiasb merged 2 commits into
mainfrom
fix-multiple-added-files

Conversation

@matiasb

@matiasb matiasb commented Aug 4, 2026

Copy link
Copy Markdown
Owner

The --- handler now starts a new file whenever we're not inside a git header block (patch_info is None), instead of keying on source-filename equality. This stops consecutive /dev/null-sourced added files from being merged, while keeping git renames/new-files intact.

@matiasb
matiasb marked this pull request as ready for review August 7, 2026 02:11
@matiasb
matiasb merged commit 6b2cf78 into main Aug 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant