commit 302ee3b41cd250c43654e1fca67e9a839d693cea (tree)
parent d238736a3063ee4087743a86335e53125530799e
Author: Tim Pope <code@tpope.net>
Date: Wed, 3 Jul 2019 17:14:18 -0400
Fix P in :Gstatus
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -2651,7 +2651,7 @@ function! s:StagePatch(lnum1,lnum2) abort
return 'Git reset --patch'
elseif empty(info.paths) && info.section ==# 'Unstaged'
return 'Git add --patch'
- elseif empty(info.paths) ==# ''
+ elseif empty(info.paths)
continue
endif
execute lnum