Re: [PATCHv2] connect: display connection progress
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 10, 2007, 19:29 UTC
- Message-ID
- <7v7irgjx4f.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070510120802.GG13655@mellanox.co.il>
"Michael S. Tsirkin" <mst@dev.mellanox.co.il> writes:
Show 21 quoted lines
>> Quoting Alex Riesen <raa.lkml@gmail.com>: >> Subject: Re: [PATCHv2] connect: display connection progress >> >> On 5/10/07, Michael S. Tsirkin <mst@dev.mellanox.co.il> wrote: >> >-static int git_tcp_connect_sock(char *host) >> >+static int git_tcp_connect_sock(char *host, int flags) >> >> There is only one bit of flags ever used. What are the others for? > > Hmm, I thought it's easier to read > git_tcp_connect_sock(host, NET_QUIET) > than > git_tcp_connect_sock(host, 1) > > but maybe that's overdesign. > >> Why use negative logic? >> What was wrong with plain "int verbose"? > > I want the default to report connections, and -q > to silence them. Maybe "int quiet"?
I would really feel this extra verbosity should not be the default. Thanks.