From 70c0f132f5232b7c140b4c1d73ba5a17dbd09fab Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 29 Jul 2018 00:17:51 -0400 Subject: [PATCH] Fix :Gblame --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index cc113f2..f5c6bbf 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2341,7 +2341,7 @@ function! s:Blame(bang, line1, line2, count, mods, args) abort let cmd += ['--contents', '-'] endif let cmd += ['--', s:Relative('')] - let basecmd = escape(call('s:Prepare', cmd), '!#%') + let basecmd = escape(call('s:Prepare', [b:git_dir] + cmd), '!#%') try let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd' : 'cd' let tree = s:Tree()