Open etrnal70 opened 2 years ago
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.
When editing worktrees, to make git functionality working on neovim i usually use this env. variables
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