mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 20:13: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
|
||||
let first = arg1
|
||||
if arg2 < 0
|
||||
let last = first - arg2 + 1
|
||||
let last = first - arg2 - 1
|
||||
elseif arg2 > 0
|
||||
let last = arg2
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user