Fix P in :Gstatus
This commit is contained in:
parent
d238736a30
commit
302ee3b41c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user