mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05:00
Fix P in :Gstatus
This commit is contained in:
@@ -2651,7 +2651,7 @@ function! s:StagePatch(lnum1,lnum2) abort
|
|||||||
return 'Git reset --patch'
|
return 'Git reset --patch'
|
||||||
elseif empty(info.paths) && info.section ==# 'Unstaged'
|
elseif empty(info.paths) && info.section ==# 'Unstaged'
|
||||||
return 'Git add --patch'
|
return 'Git add --patch'
|
||||||
elseif empty(info.paths) ==# ''
|
elseif empty(info.paths)
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
execute lnum
|
execute lnum
|
||||||
|
|||||||
Reference in New Issue
Block a user