From 302ee3b41cd250c43654e1fca67e9a839d693cea Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 3 Jul 2019 17:14:18 -0400 Subject: [PATCH] Fix P in :Gstatus --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 5892101..6593380 100644 --- 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