Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot switch worktree when space in directory name #114

Open
denniswiersma opened this issue Nov 6, 2023 · 1 comment · May be fixed by #128
Open

cannot switch worktree when space in directory name #114

denniswiersma opened this issue Nov 6, 2023 · 1 comment · May be fixed by #128

Comments

@denniswiersma
Copy link

I am a Mac user and store files in iCloud Drive. MacOS stores iCloud Drive files at /Users/denniswiersma/Library/Mobile Documents/com~apple~CloudDocs/

I have a (bare) git repository at /Users/denniswiersma/Library/Mobile Documents/com~apple~CloudDocs/Documents/path/to/repo.git

when I run this keymap to switch to a different worktree:

vim.keymap.set(
	"n",
	"<leader>sw",
	"<cmd>lua require('telescope').extensions.git_worktree.git_worktrees()<cr>"
)

I get the following error for every worktree I select:
CleanShot 2023-11-06 at 11 19 39@2x

The first line of this error leads me to believe it doesn't like the space in /Mobile Documents/ very much.

@GitMurf
Copy link

GitMurf commented Dec 28, 2023

I have the same issue on Windows

@kutiny kutiny linked a pull request Oct 5, 2024 that will close this issue
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 a pull request may close this issue.

2 participants