milke / GitFinder-Issues

Bug and issue tracker for GitFinder - git client with macOS Finder integration
16 stars 1 forks source link

Path Resolution Issues, especially when used together with virtual machines #92

Open kmzeise opened 3 years ago

kmzeise commented 3 years ago

I run into a problem when I use git repositories both natively from the Mac, and via network share from a VM running on it. This means that the same repository is addressed from two different path, say ~/Repositories/rep on the Mac, and //vmware-host/Shared Folders/Repositories/rep from the VM.

This gives a "Cannot find path" error message every time I open ~/Repositories.

Would it be possible to add a substitution map for paths so that these references resolve correctly?

milke commented 3 years ago

@kmzeise frankly, I don't fully understand your setup at this moment. Let me make a similar setup and try to reproduce the issue. If in the meantime you can come up with more details, please do :-)

kmzeise commented 3 years ago

A bit of background:

After a bit of digging I found that in the .git/config file there is an entry [core] worktree = //vmware-host/Shared Folders/Repositories/[repository name]

I suspect that this line causes the problem