Open pgierz opened 1 year ago
Hey Paul,
you hit one of the issues that I've been thinking about since the beginning of the project :smile:
See also #36
The gist is that git (i.e. the command line tool) supports worktrees with slashes no problem, but libgit2
handles slashes differently than git
itself. This leads to various problems, as @maurelian alluded to in the linked issue.
I'm unfortunately not aware of the specific things that go wrong with slashes in worktree names. Could you show your use case and precisely how grm
fails when you try to use it?
Hi there,
Thanks for this project, it has been quite useful. I have one feature request, and I'd be happy to help out myself, unfortunately I am only a beginner with rust.
In my own work, I like to organise branches under "virtual" folders, e.g. a typical project might look like this:
It would be very cool to integrate this into the worktree command, so that I could have:
At the moment, it seems slashes are not allowed in worktree names. Would that be difficult to implement?
Cheers, Paul