Re: [PATCH 21/22] transport.c: mark more strings for translation
On Sun, Jun 3, 2018 at 10:29 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 13 quoted lines
> On Sat, Jun 2, 2018 at 12:32 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
>> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
>> ---
>> diff --git a/transport.c b/transport.c
>> @@ -875,7 +875,7 @@ struct transport *transport_get(struct remote *remote, const char *url)
>> ret->progress = isatty(2);
>>
>> if (!remote)
>> - die("No remote provided to transport_get()");
>> + BUG("No remote provided to transport_get()");
>
> Did you want to downcase "No" or just didn't bother since it's not
> intended for end-user?Not bother since it's BUG().
--
Duy