Re: [PATCH v4] checkout: add --progress option
- From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
- Date
- Nov 1, 2015, 17:58 UTC
- Message-ID
- <CAOc6etbaQhE6tcS5m_3rvD7FFV9hTSdBD3RM5=OvqR_7VLqf0g@mail.gmail.com>
- In-Reply-To
- <CAPig+cSLC_xkpXEznzPQdA=FE6GV5VSuwSrFy62Nzybv7jQf1g@mail.gmail.com>
On Sun, Nov 1, 2015 at 11:52 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 8 quoted lines
>> + if (opts.quiet) {
>> + opts.show_progress = 0;
>> + } else {
>> + opts.show_progress = isatty(2);
>> + }
>
> Style: drop unnecessary braces
>Ok. WIll do!