Pass in matching number of arguments for :Gread

This was changed in 1ac2c70 for the other git commands, leading to the
following error message:

```
E118: Too many arguments for function: s:ReadCommand
```
This commit is contained in:
Teo Ljungberg 2019-04-24 09:57:04 +02:00 committed by Tim Pope
parent 1ac2c707e5
commit 16b7a060a3

View File

@ -3187,7 +3187,7 @@ function! s:Open(cmd, bang, mods, arg, args) abort
return mods . ' ' . a:cmd . pre . ' ' . s:fnameescape(file)
endfunction
function! s:ReadCommand(line1, line2, range, count, bang, mods, arg, args) abort
function! s:ReadCommand(line1, line2, range, count, bang, mods, reg, arg, args) abort
let mods = a:mods ==# '<mods>' ? '' : a:mods
let after = a:line2
if a:count < 0