You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(review): show P4 added files in code review (#494)
P4 added files (p4 add) were not appearing in the review UI on Windows.
The root cause was \r\n line endings from P4 command output — splitting
on \n left \r in file paths, causing Bun.file() to fail silently.
- Normalize \r\n to \n in runP4() stdout for all P4 commands
- Strip \r\n from file content in getNewFileDiff()
- Replace fragile index-based p4 where parsing with -ztag structured
output, which is also more robust for stream depots and overlays
Co-authored-by: yslee <yslee@abutton.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments