junegunn / fzf-git.sh

bash and zsh key bindings for Git objects, powered by fzf
612 stars 53 forks source link

Preview window does not see $GIT_DIR nor $GIT_WORK_TREE #49

Open Fabrice-Bernes opened 3 months ago

Fabrice-Bernes commented 3 months ago

When setting $GIT_DIR and $GIT_WORK_TREE as it is common for working on bare repositories, all commands work ,but the preview windows will display Warning: Not a git repository, fatal: not a git repository or similar messages. image