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

[PATCH 1/2] blame.c: Add translation to warning about failed revision walk

From
Stefan Beller <stefanbeller@gmail.com>
Date
Aug 10, 2014, 21:33 UTC
Message-ID
<1407706406-30455-1-git-send-email-stefanbeller@gmail.com>

blame belonging to the group of ancillaryinterrogators and not to plumbinginterrogators should have localized error messages?

Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
---
 builtin/blame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/blame.c b/builtin/blame.c
index 17d30d0..ca4ba6f 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -2700,7 +2700,7 @@ parse_done:
 	 * uninteresting.
 	 */
 	if (prepare_revision_walk(&revs))
-		die("revision walk setup failed");
+		die(_("revision walk setup failed"));
 
 	if (is_null_sha1(sb.final->object.sha1)) {
 		o = sb.final->util;
-- 
2.1.0.rc2
Next: Stefan Beller
Message 1 of 5 in “blame.c: Add translation to warning about failed revision walk”
  1. 1/2 blame.c: Add translation to warning about failed revision walkStefan Beller, Aug 10, 2014
  2. 2/2 prepare_revision_walk: Check for return value in all placesStefan Beller, Aug 10, 2014
  3. Junio C HamanoAug 11, 2014
  4. Stefan BellerAug 11, 2014
  5. Junio C HamanoAug 12, 2014

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.