On Thu, 22 Feb 2018 10:17:39 -0800
Brandon Williams wrote:
> > > diff --git a/remote.h b/remote.h
> > > index 1f6611be2..2016461df 100644
> > > --- a/remote.h
> > > +++ b/remote.h
> > > @@ -150,10 +150,11 @@ int check_ref_type(const struct ref *ref, int
> > > flags);
> > >
On 02/21, Jonathan Tan wrote:
> On Tue, 6 Feb 2018 17:12:45 -0800
> Brandon Williams wrote:
>
> > - get_remote_heads(fd[0], NULL, 0, , 0, NULL, );
> > +
> > + packet_reader_init(, fd[0], NULL, 0,
> > + PACKET_READ_CHOMP_NEWLINE |
> > +
On Tue, 6 Feb 2018 17:12:45 -0800
Brandon Williams wrote:
> - get_remote_heads(fd[0], NULL, 0, , 0, NULL, );
> +
> + packet_reader_init(, fd[0], NULL, 0,
> +PACKET_READ_CHOMP_NEWLINE |
> +PACKET_READ_GENTLE_ON_EOF);
> +
In order to prepare for the addition of protocol_v2 push the protocol
version discovery outside of 'get_remote_heads()'. This will allow for
keeping the logic for processing the reference advertisement for
protocol_v1 and protocol_v0 separate from the logic for protocol_v2.
Signed-off-by:
4 matches
Mail list logo