Thread (98 messages) flat view 98 messages, 5 authors, 2016-06-15

Re: [PATCH v4 16/21] transport-helper: read helper response with strbuf_getline()

From: Jeff King <hidden>
Date: 2016-06-15 23:07:47

On Thu, Jan 14, 2016 at 03:58:31PM -0800, Junio C Hamano wrote:
Our implementation of helpers never use CRLF line endings, and they
do not depend on the ability to place a CR as payload at the end of
the line, so this is essentially a no-op for in-tree users.  However,
this allows third-party implementation of helpers to give us their
line with CRLF line ending (they cannot expect us to feed CRLF to
them, though).
I think this is OK. I cannot think of any transport-helper request or
response which wants to pass anything more exotic than a refname as its
final argument. And if we were to add one, it would need to take care to
quote its argument somehow to allow "\n" anyway.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help