git-messenger.vim
                                
                                 git-messenger.vim copied to clipboard
                                
                                    git-messenger.vim copied to clipboard
                            
                            
                            
                        Doesn't work on worktrees
When editing worktrees, to make git functionality working on neovim i usually use this env. variables
GIT_DIR=<bare-repo-location> GIT_WORK_TREE=<worktree-location> nvim <filename>
Git plugins like fugitive or gitsigns.nvim works fine. But on git-messenger, it shows error that current worktree-location is not a git directory
Same issue here. @rhysd Could you please support to respect GIT_DIR and GIT_WORK_TREE env? Thank you very much.
git-messenger.vim always gives git current directory through -C. I'm not sure, but it would be prioritized over the env vars.
This is difficult issue for me since I don't have the bare repository environment. I'd appreciate if someone provides how to make the minimal environment to reproduce this issue.