mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-17 15:53:43 -05:00
Revert "Specify shell command, not wrapper, in b:dispatch"
This reverts commit 5bcb42164e.
This commit is contained in:
@@ -1826,8 +1826,7 @@ function! fugitive#BufReadStatus() abort
|
|||||||
if push !=# pull
|
if push !=# pull
|
||||||
call s:AddHeader('Push', push)
|
call s:AddHeader('Push', push)
|
||||||
endif
|
endif
|
||||||
let tree = s:Tree()
|
if empty(s:Tree())
|
||||||
if empty(tree)
|
|
||||||
call s:AddHeader('Bare', 'yes')
|
call s:AddHeader('Bare', 'yes')
|
||||||
endif
|
endif
|
||||||
call s:AddSection('Rebasing ' . rebasing_head, rebasing)
|
call s:AddSection('Rebasing ' . rebasing_head, rebasing)
|
||||||
@@ -1845,8 +1844,7 @@ function! fugitive#BufReadStatus() abort
|
|||||||
if &bufhidden ==# ''
|
if &bufhidden ==# ''
|
||||||
setlocal bufhidden=delete
|
setlocal bufhidden=delete
|
||||||
endif
|
endif
|
||||||
let b:dispatch = '-compiler=git -dir=' . s:fnameescape(FugitiveVimPath(len(tree) ? tree : s:Dir())) .
|
let b:dispatch = ':Gfetch --all'
|
||||||
\ ' ' . s:UserCommand() . ' ' . s:shellesc(s:AskPassArgs(s:Dir())) . ' fetch --all'
|
|
||||||
call fugitive#MapJumps()
|
call fugitive#MapJumps()
|
||||||
call s:Map('n', '-', ":<C-U>execute <SID>Do('Toggle',0)<CR>", '<silent>')
|
call s:Map('n', '-', ":<C-U>execute <SID>Do('Toggle',0)<CR>", '<silent>')
|
||||||
call s:Map('x', '-', ":<C-U>execute <SID>Do('Toggle',1)<CR>", '<silent>')
|
call s:Map('x', '-', ":<C-U>execute <SID>Do('Toggle',1)<CR>", '<silent>')
|
||||||
|
|||||||
Reference in New Issue
Block a user