Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-11-16 Thread Junio C Hamano
Jonathan Nieder writes: >> Which means the defaulting of git_connect::conn to &no_fork is now >> unneeded. One of the things that made the original cascade a bit >> harder to follow than necessary, aside from the physical length of >> the PROTO_GIT part, was that the case where conn remains to p

Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-11-15 Thread Jonathan Nieder
Hi, On Oct 24, 2017, Junio C Hamano wrote: > Jonathan Nieder writes: >> +static struct child_process *git_connect_git(int fd[2], char *hostandport, >> + const char *path, const char *prog, >> + int flags) >> +{ >> +

Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-10-23 Thread Stefan Beller
On Mon, Oct 23, 2017 at 6:54 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> I think once this option is given, all we have to do is pay attention to >> this option in diff.c#moved_entry_cmp/next_byte, which is best built >> on top of Peffs recent fixes origin/jk/diff-color-moved-fix. >> W

Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-10-23 Thread Junio C Hamano
Stefan Beller writes: > I think once this option is given, all we have to do is pay attention to > this option in diff.c#moved_entry_cmp/next_byte, which is best built > on top of Peffs recent fixes origin/jk/diff-color-moved-fix. > Would that be of interest for people? Two things and a half.

Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-10-23 Thread Junio C Hamano
Jonathan Nieder writes: > The git_connect function is growing long. Split the > PROTO_GIT-specific portion to a separate function to make it easier to > read. > > No functional change intended. > > Signed-off-by: Jonathan Nieder > Reviewed-by: Stefan Beller > --- > As before, except with sbell

Re: [PATCH 1/5] connect: split git:// setup into a separate function

2017-10-23 Thread Stefan Beller
On Mon, Oct 23, 2017 at 2:29 PM, Jonathan Nieder wrote: > The git_connect function is growing long. Split the > PROTO_GIT-specific portion to a separate function to make it easier to > read. > > No functional change intended. > > Signed-off-by: Jonathan Nieder This also looks good to me. unrel