Skip to content

fix(core): restore +/- prefixes in git diff output - #343

Open
linbingquan wants to merge 1 commit into
mufeedvh:mainfrom
linbingquan:dev
Open

linbingquan wants to merge 1 commit into
mufeedvh:mainfrom
linbingquan:dev

Conversation

@linbingquan

Copy link
Copy Markdown

As the title says.

Generated with AI assistance.

git2::DiffFormat::Patch splits the +/-/space prefix from the line
content. Use write_diff_line() to reconstruct the full diff line
with proper origin markers before writing to the buffer.

This branch has not been deployed

No deployments
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