Skip to content

git_worktree__read_link does not normalize backslashes - #7378

Open
lrm29 wants to merge 3 commits into
libgit2:mainfrom
mathworks:worktree_slashes
Open

lrm29 wants to merge 3 commits into
libgit2:mainfrom
mathworks:worktree_slashes

Conversation

@lrm29

@lrm29 lrm29 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Google's repo tool on Windows writes the gitdir file of a worktree using backslashes, and libgit2 does not like this.

Same issue solved here:

git_fs_path_mkposix(file.ptr);

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