git-worktree.nvim icon indicating copy to clipboard operation
git-worktree.nvim copied to clipboard

Telescope create branch filter

Open polarmutex opened this issue 4 years ago • 3 comments
trafficstars

When you use telescope to create a worktree filter out branches that already have worktree that should cause an error if you did create them

polarmutex avatar Apr 23 '21 23:04 polarmutex

Can you rephrase this into a readable sentence?

matu3ba avatar Sep 25 '21 21:09 matu3ba

basically when creating a worktree using treesitter, we should filter out branch names that already have a worktree associated with them (since git worktree will not let you create a second tree from a branch)

polarmutex avatar Sep 27 '21 04:09 polarmutex

@polarmutex I like this idea.

There are some things that could make things a bit easier.

ThePrimeagen avatar Oct 11 '21 02:10 ThePrimeagen