Re: Silly 'git am' UI issue
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 4, 2022, 07:01 UTC
- Message-ID
- <220304.86v8wufbf2.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <xmqq1qzi4bpk.fsf@gitster.g>
On Thu, Mar 03 2022, Junio C Hamano wrote:
Show 6 quoted lines
>> +static int parse_opt_whitespace(const struct option *opt, const char *arg, int unset)
>> +{
>> + struct apply_state dummy = { };
>
> It is rare to see a completely empty initializer in this codebase, I
> think.I don't think we use them at all. It's GNU GCC-specific syntax that translates to the equivalent of { 0 }, which we can use instead.