Thread (1 message) 1 message, 1 author, 2018-04-23

Re: Silly "git gc" UI issue.

From: Junio C Hamano <hidden>
Date: 2018-04-23 13:38:07

Christian Couder [off-list ref] writes:
On Sat, Apr 21, 2018 at 5:13 AM, Junio C Hamano [off-list ref] wrote:
quoted
@@ -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.



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help