Thread (64 messages) 64 messages, 3 authors, 2018-06-03

Re: [PATCH 21/22] transport.c: mark more strings for translation

From: Duy Nguyen <hidden>
Date: 2018-06-03 15:18:03

On Sun, Jun 3, 2018 at 10:29 AM, Eric Sunshine [off-list ref] wrote:
On Sat, Jun 2, 2018 at 12:32 AM, Nguyễn Thái Ngọc Duy [off-list ref] wrote:
quoted
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help