nvim-blame-line icon indicating copy to clipboard operation
nvim-blame-line copied to clipboard

doesn't work inside git-worktrees?

Open rexroof opened this issue 4 years ago • 2 comments

love this plugin. I have recently started experimenting with git worktrees to manage my git branches.

for some reason, inside of a git-worktree ToggleBlameLine doesn't work, no obvious errors.
if I manually run git blame, the output looks identical.

let me know if I can provide more information.

rexroof avatar Mar 22 '22 21:03 rexroof

Hey @rexroof I pushed a fix to https://github.com/fedemengo/nvim-blame-line/tree/fix/support-blame-on-worktree, could you try it out and see if it fixes the problem?

fedemengo avatar May 16 '22 20:05 fedemengo

Sorry it took me so long, I was finally able to test this.

Unfortunately, it's still a no-go. I added this to my init.vim:

   Plug 'fedemengo/nvim-blame-line', { 'branch': 'fix/support-blame-on-worktree' }

I'm running a recent build of neovim from the master/0.8.0 branch.

:ToggleBlameLine works fine in a repo I have checked out without worktrees, but with my worktree repos it just quietly shows nothing.

rexroof avatar Jul 18 '22 21:07 rexroof