diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-07-10 06:15:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 06:15:38 +0200 |
commit | ee580ee459d4eac1c434203cc264523acfae724a (patch) | |
tree | 30b1e5f4788dd6732694494458c5f15a64ddfe66 /plumbing/protocol/packp/ulreq_decode.go | |
parent | 13095f770a0ea9be1c103389269fad1d82c55468 (diff) | |
parent | d07f2fbd7f615707c5f8b4bde32d5824c4196411 (diff) | |
download | go-git-ee580ee459d4eac1c434203cc264523acfae724a.tar.gz |
Merge pull request #124 from cristaloleg/use-one-name-for-receiver
*: use only one name for receiver
Diffstat (limited to 'plumbing/protocol/packp/ulreq_decode.go')
-rw-r--r-- | plumbing/protocol/packp/ulreq_decode.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/ulreq_decode.go b/plumbing/protocol/packp/ulreq_decode.go index 449b729..895a3bf 100644 --- a/plumbing/protocol/packp/ulreq_decode.go +++ b/plumbing/protocol/packp/ulreq_decode.go @@ -14,9 +14,9 @@ import ( // Decode reads the next upload-request form its input and // stores it in the UploadRequest. -func (u *UploadRequest) Decode(r io.Reader) error { +func (req *UploadRequest) Decode(r io.Reader) error { d := newUlReqDecoder(r) - return d.Decode(u) + return d.Decode(req) } type ulReqDecoder struct { |