git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] fixed translation error in fetch

From
Alangi Derick <alangiderick@gmail.com>
Date
May 4, 2015, 11:47 UTC
Message-ID
<55476a2c.0530c20a.7f3d.ffffcb98@mx.google.com>
Signed-off-by: Alangi Derick <alangiderick@gmail.com>
---
 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
Message 1 of 1 in “fixed translation error in fetch”
  1. fixed translation error in fetchAlangi Derick, May 4, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.