Skip to content

Put @@ hunk headers before their context lines. - #45

Merged
nibra180 merged 2 commits into
mainfrom
fix/hunk-header-before-context
Sep 4, 2026
Merged

Put @@ hunk headers before their context lines.#45
nibra180 merged 2 commits into
mainfrom
fix/hunk-header-before-context

Conversation

@nibra180

@nibra180 nibra180 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Flatten emitted unchanged context first and only then the marker, so a hunk that started at line 1 showed a block of equals above the header. The header is now the first row of the hunk.

Flatten emitted unchanged context first and only then the marker, so a hunk that started at line 1 showed a block of equals above the header. The header is now the first row of the hunk.
@nibra180
nibra180 merged commit d794e6b into main Sep 4, 2026
3 checks passed
@nibra180
nibra180 deleted the fix/hunk-header-before-context branch September 4, 2026 12:43
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