mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-11 23:50:19 +08:00
Fix P in :Gstatus
This commit is contained in:
1 parent
d238736a30
commit
302ee3b41c
1 file changed
+1
-1
@@ -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