Re: Silly "git gc" UI issue.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 23, 2018, 13:38 UTC
- Message-ID
- <xmqqbmea9h6u.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAP8UFD0_LvWkKSYd1MWrdoK-tqBcQqm32CUNrBqEfmjWdHkJgg@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 13 quoted lines
> On Sat, Apr 21, 2018 at 5:13 AM, Junio C Hamano <gitster@pobox.com> wrote:
>
>> @@ -388,6 +389,9 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
>> if (argc > 0)
>> usage_with_options(builtin_gc_usage, builtin_gc_options);
>>
>> + if (prune_expire && parse_expiry_date(prune_expire, &dummy))
>> + die(_("Failed to parse prune expiry value %s"), prune_expire);
>
> Micronit: I thought we prefer error messages to start with a lower
> case letter, like:
>
> die(_("failed to parse prune expiry value %s"), prune_expire);Thanks.
There is an existing "Failed..." already before the pre-context of this hunk, which I'll fix with a preliminary clean-up patch.