Skip to content

fix: preserve special characters in tracked paths - #25

Merged
rogerchappel merged 1 commit into
mainfrom
agent/oss-43d484fb9600-nul-delimited-diff
Aug 9, 2026
Merged

fix: preserve special characters in tracked paths#25
rogerchappel merged 1 commit into
mainfrom
agent/oss-43d484fb9600-nul-delimited-diff

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • collect tracked staged and unstaged name-status and numstat data with Git's NUL-delimited output
  • parse tabs and newlines in paths without losing exact path or line-stat data
  • preserve rename and copy source/destination identity while retaining legacy parser behavior
  • cover staged and unstaged tracked paths containing tabs and newlines end to end

Commit

  • 35da9b7 fix: preserve special characters in tracked paths

Verification

  • npm run release:check
  • git diff --check
  • git log --format='%h%x09%an%x09%ae%x09%cn%x09%ce' origin/main..HEAD

All 20 tests passed, the smoke fixture generated Markdown and JSON, and the package dry run completed successfully. The proposed commit author and committer are both Roger Chappel <miscanalysis@gmail.com>.

@rogerchappel
rogerchappel merged commit 15b5ba5 into main Aug 9, 2026
1 check passed
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