Skip to content

fix: support git paths with spaces - #13

Merged
malewicz1337 merged 3 commits into
malewicz1337:mainfrom
Shibarashii:main
Sep 16, 2026
Merged

malewicz1337 merged 3 commits into
malewicz1337:mainfrom
Shibarashii:main

Conversation

@Shibarashii

Copy link
Copy Markdown
Contributor

What changed

  • Use Git's NUL-delimited porcelain output.
  • Parse paths without quote handling issues.
  • Support rename and copy records.
  • Add regression coverage for paths containing spaces.

Why

Git quotes paths containing spaces in normal porcelain output.
This prevented oil-git.nvim from matching Git statuses to Oil entries.

Testing

  • make test
  • All tests pass.

@malewicz1337
malewicz1337 merged commit 8eac25d into malewicz1337:main Sep 16, 2026
3 checks 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.

2 participants