Re: [PATCH v11 1/4] test-parse-options: print quiet as integer
- From
Pranit Bauva <pranit.bauva@gmail.com>
- Date
- Mar 31, 2016, 18:40 UTC
- Message-ID
- <CAFZEwPMyVftmW8ZCCyFMUMOegqimpFxjLrHfjMKc88w+HDvG+A@mail.gmail.com>
- In-Reply-To
- <xmqqegaqo6gg.fsf@gitster.mtv.corp.google.com>
On Thu, Mar 31, 2016 at 11:49 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Pranit Bauva <pranit.bauva@gmail.com> writes: > >> Current implementation of parse-options.c treats OPT__QUIET() as integer >> and not boolean and thus it is more appropriate to print it as integer >> to avoid confusion. >> >> While at it, fix some style issues. > > I counted the changes in t0040 and you have _more_ style fixes than > the real change. That is not "while at it". > > While I welcome the style fix, it is better done as a preparatory > clean-up step before the real change.
Okay. I thought this was a minor change so I squashed it together. I will separate it though.
> Missing sign-off.
Will include this
Show 14 quoted lines
>> -cat > typo.err << EOF >> +cat >typo.err <<EOF >> error: did you mean \`--boolean\` (with two dashes ?) >> EOF > > If your "style cleanup" patch were separate, you could fix this (and > other that have backslash escape inside the here-document) further > to something like this: > > cat >type.err <<\EOF > error: did you mean `--boolean` (with two dashes ?) > EOF > > Thanks.
Will include this.