diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 0b2d62b..33d931d 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3633,9 +3633,9 @@ for s:colortype in ['advice', 'branch', 'diff', 'grep', 'interactive', 'pager', call extend(s:disable_colors, ['-c', 'color.' . s:colortype . '=false']) endfor unlet s:colortype -function! fugitive#Command(line1, line2, range, bang, mods, arg) abort +function! fugitive#Command(line1, line2, range, bang, mods, arg, ...) abort exe s:VersionCheck() - let dir = s:Dir() + let dir = call('s:Dir', a:000) if len(dir) exe s:DirCheck(dir) endif