[PR #13482] fix(opencode): handle newFileName correctly with fallback if path is /dev/null #14682

Open
opened 2026-02-16 18:19:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13482

State: open
Merged: No


What does this PR do?

Fixes #13481

Skip /dev/null in parsed patch filenames so deleted files show their actual path (use old filename when the new path is /dev/null).

How did you verify your code works?

Tested on my local

https://github.com/user-attachments/assets/a45174c9-c013-4dfc-a91a-7a82d5c24057

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13482 **State:** open **Merged:** No --- ### What does this PR do? Fixes #13481 Skip /dev/null in parsed patch filenames so deleted files show their actual path (use old filename when the new path is /dev/null). ### How did you verify your code works? Tested on my local https://github.com/user-attachments/assets/a45174c9-c013-4dfc-a91a-7a82d5c24057
yindo added the pull-request label 2026-02-16 18:19:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14682