alexiszamanidis / vscode-git-worktrees

A VS Code extension that wraps git worktree operations for simplicity and productivity
https://marketplace.visualstudio.com/items?itemName=GitWorktrees.git-worktrees
MIT License
44 stars 5 forks source link

Error "Filename too long" #37

Open LordSyd opened 3 months ago

LordSyd commented 3 months ago

I get this error when I am trying to delete worktrees via the command palette:

"Error: command: 'git worktree remove feature/RZFZ-1047_POC_Mock_merge_dev'. error: 'Command failed: git worktree remove feature/RZFZ-1047_POC_Mock_merge_dev\n" + "error: failed to delete 'C:/Users/daniel.kleissl/Documents/razzfazz/repos/Yorik/feature/RZFZ-1047_POC_Mock_merge_dev': Filename too long\n" + "'"

Do you need any more info than that?

Regards, Daniel

jackiotyu commented 2 months ago

I get this error when I am trying to delete worktrees via the command palette:

"Error: command: 'git worktree remove feature/RZFZ-1047_POC_Mock_merge_dev'. error: 'Command failed: git worktree remove feature/RZFZ-1047_POC_Mock_merge_dev\n" + "error: failed to delete 'C:/Users/daniel.kleissl/Documents/razzfazz/repos/Yorik/feature/RZFZ-1047_POC_Mock_merge_dev': Filename too long\n" + "'"

Do you need any more info than that?

Regards, Daniel

https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows It maybe helps you.

alexiszamanidis commented 1 month ago

Hi @LordSyd ,

Was @jackiotyu's reply helpful in resolving your issue? If not, I would be happy to take a look at it.