DORMANTno replies

[PATCH] fixed translation error in fetch

From: Alangi Derick <hidden>
Date: 2016-06-15 23:04:38
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Alangi Derick <redacted>
---
 builtin/fetch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/fetch.c b/builtin/fetch.c
index f951265..ab110b2 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -340,7 +340,7 @@ static struct ref *get_ref_map(struct transport *transport,
 		if (tags == TAGS_SET)
 			get_fetch_map(remote_refs, tag_refspec, &tail, 0);
 	} else if (refmap_array) {
-		die("--refmap option is only meaningful with command-line refspec(s).");
+		die(_("--refmap option is only meaningful with command-line refspec(s)."));
 	} else {
 		/* Use the defaults */
 		struct remote *remote = transport->remote;
@@ -432,7 +432,7 @@ static int s_update_ref(const char *action,
 	return 0;
 fail:
 	ref_transaction_free(transaction);
-	error("%s", err.buf);
+	error(_("%s"), err.buf);
 	strbuf_release(&err);
 	return df_conflict ? STORE_REF_ERROR_DF_CONFLICT
 			   : STORE_REF_ERROR_OTHER;
-- 
2.4.0.8.geba5036.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help