Re: [PATCH 17/19] transport-helper: export is no longer always the last command
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 9, 2011, 06:48 UTC
- Message-ID
- <BANLkTim1R=1SrUXgOOjmRioG45KKVity3Q@mail.gmail.com>
- In-Reply-To
- <7vsjrjzubl.fsf@alter.siamese.dyndns.org>
Heya,
On Thu, Jun 9, 2011 at 03:07, Junio C Hamano <gitster@pobox.com> wrote:
> Could you clarify the logic, perhaps by commenting a bit more where this > field is examined and code changes its behaviour in disconnect_helper()?
Previously this bit had to be set, so that we didn't try to write the trailing \n on a closed socket. Now, the socket is no longer closed, so we can send the trailing \n again. Does that make sense?
-- Cheers, Sverre Rabbelier