Skip to content

Fix patch parsing to trim newline from prevName on pure renames#431

Merged
amadeus merged 1 commit intopierrecomputer:mainfrom
jonatanklosko:jk-prev-name-newline
Mar 27, 2026
Merged

Fix patch parsing to trim newline from prevName on pure renames#431
amadeus merged 1 commit intopierrecomputer:mainfrom
jonatanklosko:jk-prev-name-newline

Conversation

@jonatanklosko
Copy link
Copy Markdown
Contributor

This fixes a bug where parsing a patch file with pure rename would include a trailing \n in the prevName. See the updates snapshots, which document both the bug and the fix.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

@jonatanklosko is attempting to deploy a commit to the Pierre Computer Company Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Mar 27, 2026 1:23am
pierrejs-docs Ready Ready Preview Mar 27, 2026 1:23am

Request Review

@amadeus amadeus merged commit 1cfb16f into pierrecomputer:main Mar 27, 2026
8 checks passed
@amadeus
Copy link
Copy Markdown
Member

amadeus commented Mar 27, 2026

Good catch, thanks for the fix!

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.

2 participants