Re: [RFC PATCH] push: perform negotiation before sending packfile
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 22, 2021, 21:32 UTC
- Message-ID
- <xmqq8s7f7pqb.fsf@gitster.g>
- In-Reply-To
- <20210222200146.1393467-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> I guess the idea is to have a push that does not start with a ref > advertisement, therefore making everything more modular?
Yes, making things modular and reusable would be valuable---if the fetch side were already structured like I dreamed in the message you are responding to with a separate 'negotiate' service, the RFC patch would have looked much nicer.
I am also interested in seeing was not to require a new connection for an extra roundtrip.
Thanks.