motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 2d0f51679c5035c9bcb7b4ab0efa8bd70813ab64 (tree)
parent 99e65ce0498fd9f87e1d5f795e24ea1897edad67
Author: Tim Pope <code@tpope.net>
Date:   Fri,  6 Aug 2021 20:49:41 -0400

Accept git_dir dict key in FugitivePrepare()

Diffstat:
Mautoload/fugitive.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -432,6 +432,9 @@ function! fugitive#PrepareDirEnvGitArgv(...) abort if has_key(cmd[i], 'dir') let dir = cmd[i].dir endif + if has_key(cmd[i], 'git_dir') + let dir = cmd[i].git_dir + endif if has_key(cmd[i], 'git') let git = cmd[i].git endif