junegunn / gv.vim

A git commit browser in Vim
1.35k stars 54 forks source link

GV doesn't seem to work with worktrees #78

Open h2dkb opened 4 years ago

h2dkb commented 4 years ago

I'm getting this message when I try this on a git worktree

Error detected while processing function <SNR>39_gv[13]..<SNR>54_repo_tree[3]..<SNR>54_throw:
line    1:
E605: Exception not caught: fugitive: no work tree
Error detected while processing function <SNR>39_gv[13]..<SNR>54_repo_tree:
line    3:
E171: Missing :endif

Is this expected? Am I doing something wrong?

I'm on commit:

○ → git describe --all --long HEAD
heads/master-0-g72dc64d