mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-10 04:23:46 -05:00
Fix off by 2 error staging multiple files
This commit is contained in:
@@ -2478,7 +2478,7 @@ function! s:Selection(arg1, ...) abort
|
|||||||
endif
|
endif
|
||||||
let first = arg1
|
let first = arg1
|
||||||
if arg2 < 0
|
if arg2 < 0
|
||||||
let last = first - arg2 + 1
|
let last = first - arg2 - 1
|
||||||
elseif arg2 > 0
|
elseif arg2 > 0
|
||||||
let last = arg2
|
let last = arg2
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user