Use packet_reader instead of packet_read_line
authorMasaya Suzuki <masayasuzuki@google.com>
Sat, 29 Dec 2018 21:19:14 +0000 (13:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 21:05:27 +0000 (13:05 -0800)
By using and sharing a packet_reader while handling a Git pack protocol
request, the same reader option is used throughout the code. This makes
it easy to set a reader option to the request parsing code.

Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found