]> git.ipfire.org Git - thirdparty/git.git/commit
connect: have ref processing code take struct packet_reader
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 25 May 2020 19:58:49 +0000 (19:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:07:06 +0000 (10:07 -0700)
commit92315e50b275deee8e84d28ee1ff1ad555a5de36
treeb10ddfb3f035e433139697d865c5636d1478e324
parentb8615c3c63246ae4340239fbad2e6b64cbeb0fa5
connect: have ref processing code take struct packet_reader

In a future patch, we'll want to access multiple members from struct
packet_reader when parsing references.  Therefore, have the ref parsing
code take pointers to struct reader instead of having to pass multiple
arguments to each function.

Rename the len variable to "linelen" to make it clearer what the
variable does in light of the variable change.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c