mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Fix :Gstatus toggle on Unstaged heading
This commit is contained in:
@@ -2052,7 +2052,7 @@ function! s:StageToggle(lnum1,lnum2) abort
|
|||||||
1
|
1
|
||||||
call search('^Unstaged','W')
|
call search('^Unstaged','W')
|
||||||
return ''
|
return ''
|
||||||
elseif info.status ==# 'Unstaged'
|
elseif info.section ==# 'Unstaged'
|
||||||
call s:TreeChomp('add','.')
|
call s:TreeChomp('add','.')
|
||||||
silent! edit!
|
silent! edit!
|
||||||
1
|
1
|
||||||
|
|||||||
Reference in New Issue
Block a user