diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 97ad8b3..a496547 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2689,7 +2689,9 @@ function! fugitive#BufReadStatus() abort if &bufhidden ==# '' setlocal bufhidden=delete endif - let b:dispatch = '-dir=' . s:fnameescape(len(s:Tree()) ? s:Tree() : s:GitDir()) . ' ' . s:GitShellCmd() . ' fetch --all' + if !exists('b:dispatch') + let b:dispatch = ':Git fetch --all' + endif call fugitive#MapJumps() call s:Map('n', '-', ":execute Do('Toggle',0)", '') call s:Map('x', '-', ":execute Do('Toggle',1)", '')