Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work inside git-worktrees? #17

Open
rexroof opened this issue Mar 22, 2022 · 2 comments · May be fixed by #19
Open

doesn't work inside git-worktrees? #17

rexroof opened this issue Mar 22, 2022 · 2 comments · May be fixed by #19
Assignees

Comments

@rexroof
Copy link

rexroof commented Mar 22, 2022

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.

@tveskag tveskag self-assigned this Mar 25, 2022
@fedemengo fedemengo linked a pull request May 14, 2022 that will close this issue
@fedemengo
Copy link

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?

@rexroof
Copy link
Author

rexroof commented Jul 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants