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 417b3bb818f86d2a92dbb0ee3857af7de1ade8c8 (tree)
parent edd054f76f49373eedd7858474d95e1d6847fec2
Author: Tim Pope <code@tpope.net>
Date:   Sun, 22 Sep 2019 21:25:43 -0400

Fix off by 2 error staging multiple files

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2478,7 +2478,7 @@ function! s:Selection(arg1, ...) abort endif let first = arg1 if arg2 < 0 - let last = first - arg2 + 1 + let last = first - arg2 - 1 elseif arg2 > 0 let last = arg2 else