motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit baa05dcfdaf33a098fb0fb35a3700d5b15d50751 (tree)
parent 0095769029709b531d2505ee6ad9907dd9bd72a0
Author: Tim Pope <code@tpope.net>
Date:   Sun, 29 Mar 2015 16:29:18 -0400

Pass correct files to git reset --patch

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -973,7 +973,7 @@ function! s:StagePatch(lnum1,lnum2) abort execute "Git add --patch -- ".join(map(add,'s:shellesc(v:val)')) endif if !empty(reset) - execute "Git reset --patch -- ".join(map(add,'s:shellesc(v:val)')) + execute "Git reset --patch -- ".join(map(reset,'s:shellesc(v:val)')) endif if exists('first_filename') silent! edit!