We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d1d157 + b43fe3d commit 336d8abCopy full SHA for 336d8ab
autoload/vitalizer.vim
@@ -41,7 +41,7 @@ function! s:check_system() abort
41
endfunction
42
43
function! s:git(cmd) abort
44
- let cmd = printf('git --git-dir "%s" %s', s:git_dir(), a:cmd)
+ let cmd = printf('git --git-dir "%s" --work-tree "%s" %s', s:git_dir(), g:vitalizer#vital_dir, a:cmd)
45
let output = system(cmd)
46
if v:shell_error
47
throw "vitalizer: '" . cmd . "' failed: ".output
0 commit comments