Re: [RFC PATCH 2/3] connect: group CONNECT_DIAG_URL handling code

2016-04-29 Thread Torsten Bögershausen
On 29.04.16 02:43, Mike Hommey wrote: > get_host_and_port(_host, ); > + if (!port) > + port = get_port(ssh_host); I'm not sure, if this is an improvement or not. The original intention was, to check what the parser did, before going out to the

Re: [RFC PATCH 2/3] connect: group CONNECT_DIAG_URL handling code

2016-04-29 Thread Junio C Hamano
Junio C Hamano writes: > Mike Hommey writes: > >> Signed-off-by: Mike Hommey > > I feel that this commit is under-explained. I think you should feel > entitled to boast the goodness this brings to us louder in the log > message. > > It

Re: [RFC PATCH 2/3] connect: group CONNECT_DIAG_URL handling code

2016-04-29 Thread Junio C Hamano
Mike Hommey writes: > Signed-off-by: Mike Hommey I feel that this commit is under-explained. I think you should feel entitled to boast the goodness this brings to us louder in the log message. It bothers me somewhat that this ended up copying, not

[RFC PATCH 2/3] connect: group CONNECT_DIAG_URL handling code

2016-04-28 Thread Mike Hommey
Signed-off-by: Mike Hommey --- connect.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) Note this makes http://marc.info/?l=git=146183714532394 irrelevant. diff --git a/connect.c b/connect.c index 29569b3..ce216cb 100644 --- a/connect.c