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

[PATCH 24/72] gettextize: git-commit basic messages

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 19, 2011, 19:24 UTC
Message-ID
<1298143495-3681-25-git-send-email-avarab@gmail.com>
In-Reply-To
<1298143495-3681-1-git-send-email-avarab@gmail.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 builtin/commit.c |  118 +++++++++++++++++++++++++++---------------------------
 1 files changed, 59 insertions(+), 59 deletions(-)
diff --git a/builtin/commit.c b/builtin/commit.c
index d7f55e3..c57f603 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -243,7 +243,7 @@ static void add_remove_files(struct string_list *list)
 
 		if (!lstat(p->string, &st)) {
 			if (add_to_cache(p->string, &st, 0))
-				die("updating files failed");
+				die(_("updating files failed"));
 		} else
 			remove_file_from_cache(p->string);
 	}
@@ -270,7 +270,7 @@ static void create_base_index(void)
 	opts.fn = oneway_merge;
 	tree = parse_tree_indirect(head_sha1);
 	if (!tree)
-		die("failed to unpack HEAD tree object");
+		die(_("failed to unpack HEAD tree object"));
 	parse_tree(tree);
 	init_tree_desc(&t, tree->buffer, tree->size);
 	if (unpack_trees(1, &t, &opts))
@@ -298,9 +298,9 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 		refresh_flags |= REFRESH_UNMERGED;
 	if (interactive) {
 		if (interactive_add(argc, argv, prefix) != 0)
-			die("interactive add failed");
+			die(_("interactive add failed"));
 		if (read_cache_preload(NULL) < 0)
-			die("index file corrupt");
+			die(_("index file corrupt"));
 		commit_style = COMMIT_AS_IS;
 		return get_index_file();
 	}
@@ -309,7 +309,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 		pathspec = get_pathspec(prefix, argv);
 
 	if (read_cache_preload(pathspec) < 0)
-		die("index file corrupt");
+		die(_("index file corrupt"));
 
 	/*
 	 * Non partial, non as-is commit.
@@ -329,7 +329,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 		refresh_cache_or_die(refresh_flags);
 		if (write_cache(fd, active_cache, active_nr) ||
 		    close_lock_file(&index_lock))
-			die("unable to write new_index file");
+			die(_("unable to write new_index file"));
 		commit_style = COMMIT_NORMAL;
 		return index_lock.filename;
 	}
@@ -349,7 +349,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 		if (active_cache_changed) {
 			if (write_cache(fd, active_cache, active_nr) ||
 			    commit_locked_index(&index_lock))
-				die("unable to write new_index file");
+				die(_("unable to write new_index file"));
 		} else {
 			rollback_lock_file(&index_lock);
 		}
@@ -379,7 +379,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 	commit_style = COMMIT_PARTIAL;
 
 	if (in_merge)
-		die("cannot do a partial commit during a merge.");
+		die(_("cannot do a partial commit during a merge."));
 
 	memset(&partial, 0, sizeof(partial));
 	partial.strdup_strings = 1;
@@ -388,14 +388,14 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 
 	discard_cache();
 	if (read_cache() < 0)
-		die("cannot read the index");
+		die(_("cannot read the index"));
 
 	fd = hold_locked_index(&index_lock, 1);
 	add_remove_files(&partial);
 	refresh_cache(REFRESH_QUIET);
 	if (write_cache(fd, active_cache, active_nr) ||
 	    close_lock_file(&index_lock))
-		die("unable to write new_index file");
+		die(_("unable to write new_index file"));
 
 	fd = hold_lock_file_for_update(&false_lock,
 				       git_path("next-index-%"PRIuMAX,
@@ -408,7 +408,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
 
 	if (write_cache(fd, active_cache, active_nr) ||
 	    close_lock_file(&false_lock))
-		die("unable to write temporary index file");
+		die(_("unable to write temporary index file"));
 
 	discard_cache();
 	read_cache_from(false_lock.filename);
@@ -455,7 +455,7 @@ static int is_a_merge(const unsigned char *sha1)
 {
 	struct commit *commit = lookup_commit(sha1);
 	if (!commit || parse_commit(commit))
-		die("could not parse HEAD commit");
+		die(_("could not parse HEAD commit"));
 	return !!(commit->parents && commit->parents->next);
 }
 
@@ -474,13 +474,13 @@ static void determine_author_info(struct strbuf *author_ident)
 
 		a = strstr(use_message_buffer, "\nauthor ");
 		if (!a)
-			die("invalid commit: %s", use_message);
+			die(_("invalid commit: %s"), use_message);
 
 		lb = strchrnul(a + strlen("\nauthor "), '<');
 		rb = strchrnul(lb, '>');
 		eol = strchrnul(rb, '\n');
 		if (!*lb || !*rb || !*eol)
-			die("invalid commit: %s", use_message);
+			die(_("invalid commit: %s"), use_message);
 
 		if (lb == a + strlen("\nauthor "))
 			/* \nauthor <foo@example.com> */
@@ -498,7 +498,7 @@ static void determine_author_info(struct strbuf *author_ident)
 		const char *rb = strchr(force_author, '>');
 
 		if (!lb || !rb)
-			die("malformed --author parameter");
+			die(_("malformed --author parameter"));
 		name = xstrndup(force_author, lb - force_author);
 		email = xstrndup(lb + 2, rb - (lb + 2));
 	}
@@ -554,7 +554,7 @@ static char *cut_ident_timestamp_part(char *string)
 {
 	char *ket = strrchr(string, '>');
 	if (!ket || ket[1] != ' ')
-		die("Malformed ident string: '%s'", string);
+		die(_("Malformed ident string: '%s'"), string);
 	*++ket = '\0';
 	return ket;
 }
@@ -588,7 +588,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 			struct commit *c;
 			c = lookup_commit_reference_by_name(squash_message);
 			if (!c)
-				die("could not lookup commit %s", squash_message);
+				die(_("could not lookup commit %s"), squash_message);
 			ctx.output_encoding = get_commit_output_encoding();
 			format_commit_message(c, "squash! %s\n\n", &sb,
 					      &ctx);
@@ -600,19 +600,19 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 		hook_arg1 = "message";
 	} else if (logfile && !strcmp(logfile, "-")) {
 		if (isatty(0))
-			fprintf(stderr, "(reading log message from standard input)\n");
+			fprintf(stderr, _("(reading log message from standard input)\n"));
 		if (strbuf_read(&sb, 0, 0) < 0)
-			die_errno("could not read log from standard input");
+			die_errno(_("could not read log from standard input"));
 		hook_arg1 = "message";
 	} else if (logfile) {
 		if (strbuf_read_file(&sb, logfile, 0) < 0)
-			die_errno("could not read log file '%s'",
+			die_errno(_("could not read log file '%s'"),
 				  logfile);
 		hook_arg1 = "message";
 	} else if (use_message) {
 		buffer = strstr(use_message_buffer, "\n\n");
 		if (!buffer || buffer[2] == '\0')
-			die("commit has empty message");
+			die(_("commit has empty message"));
 		strbuf_add(&sb, buffer + 2, strlen(buffer + 2));
 		hook_arg1 = "commit";
 		hook_arg2 = use_message;
@@ -621,22 +621,22 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 		struct commit *commit;
 		commit = lookup_commit_reference_by_name(fixup_message);
 		if (!commit)
-			die("could not lookup commit %s", fixup_message);
+			die(_("could not lookup commit %s"), fixup_message);
 		ctx.output_encoding = get_commit_output_encoding();
 		format_commit_message(commit, "fixup! %s\n\n",
 				      &sb, &ctx);
 		hook_arg1 = "message";
 	} else if (!stat(git_path("MERGE_MSG"), &statbuf)) {
 		if (strbuf_read_file(&sb, git_path("MERGE_MSG"), 0) < 0)
-			die_errno("could not read MERGE_MSG");
+			die_errno(_("could not read MERGE_MSG"));
 		hook_arg1 = "merge";
 	} else if (!stat(git_path("SQUASH_MSG"), &statbuf)) {
 		if (strbuf_read_file(&sb, git_path("SQUASH_MSG"), 0) < 0)
-			die_errno("could not read SQUASH_MSG");
+			die_errno(_("could not read SQUASH_MSG"));
 		hook_arg1 = "squash";
 	} else if (template_file && !stat(template_file, &statbuf)) {
 		if (strbuf_read_file(&sb, template_file, 0) < 0)
-			die_errno("could not read '%s'", template_file);
+			die_errno(_("could not read '%s'"), template_file);
 		hook_arg1 = "template";
 	}
 
@@ -659,7 +659,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 
 	fp = fopen(git_path(commit_editmsg), "w");
 	if (fp == NULL)
-		die_errno("could not open '%s'", git_path(commit_editmsg));
+		die_errno(_("could not open '%s'"), git_path(commit_editmsg));
 
 	if (cleanup_mode != CLEANUP_NONE)
 		stripspace(&sb, 0);
@@ -683,7 +683,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 	}
 
 	if (fwrite(sb.buf, 1, sb.len, fp) < sb.len)
-		die_errno("could not write commit template");
+		die_errno(_("could not write commit template"));
 
 	strbuf_release(&sb);
 
@@ -752,7 +752,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 		const char *parent = "HEAD";
 
 		if (!active_nr && read_cache() < 0)
-			die("Cannot read index");
+			die(_("Cannot read index"));
 
 		if (amend)
 			parent = "HEAD^1";
@@ -785,7 +785,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 		active_cache_tree = cache_tree();
 	if (cache_tree_update(active_cache_tree,
 			      active_cache, active_nr, 0, 0) < 0) {
-		error("Error building trees");
+		error(_("Error building trees"));
 		return 0;
 	}
 
@@ -800,7 +800,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
 		snprintf(index, sizeof(index), "GIT_INDEX_FILE=%s", index_file);
 		if (launch_editor(git_path(commit_editmsg), NULL, env)) {
 			fprintf(stderr,
-			"Please supply the message using either -m or -F option.\n");
+			_("Please supply the message using either -m or -F option.\n"));
 			exit(1);
 		}
 	}
@@ -880,7 +880,7 @@ static const char *find_author_by_nickname(const char *name)
 		format_commit_message(commit, "%an <%ae>", &buf, &ctx);
 		return strbuf_detach(&buf, NULL);
 	}
-	die("No existing author found with '%s'", name);
+	die(_("No existing author found with '%s'"), name);
 }
 
 
@@ -895,7 +895,7 @@ static void handle_untracked_files_arg(struct wt_status *s)
 	else if (!strcmp(untracked_files_arg, "all"))
 		s->show_untracked_files = SHOW_ALL_UNTRACKED_FILES;
 	else
-		die("Invalid untracked files mode '%s'", untracked_files_arg);
+		die(_("Invalid untracked files mode '%s'"), untracked_files_arg);
 }
 
 static int parse_and_validate_options(int argc, const char *argv[],
@@ -912,7 +912,7 @@ static int parse_and_validate_options(int argc, const char *argv[],
 		force_author = find_author_by_nickname(force_author);
 
 	if (force_author && renew_authorship)
-		die("Using both --reset-author and --author does not make sense");
+		die(_("Using both --reset-author and --author does not make sense"));
 
 	if (logfile || message.len || use_message || fixup_message)
 		use_editor = 0;
@@ -926,7 +926,7 @@ static int parse_and_validate_options(int argc, const char *argv[],
 
 	/* Sanity check options */
 	if (amend && initial_commit)
-		die("You have nothing to amend.");
+		die(_("You have nothing to amend."));
 	if (amend && in_merge)
 		die("You are in the middle of a merge -- cannot amend.");
 	if (fixup_message && squash_message)
@@ -940,22 +940,22 @@ static int parse_and_validate_options(int argc, const char *argv[],
 	if (logfile)
 		f++;
 	if (f > 1)
-		die("Only one of -c/-C/-F/--fixup can be used.");
+		die(_("Only one of -c/-C/-F/--fixup can be used."));
 	if (message.len && f > 0)
-		die("Option -m cannot be combined with -c/-C/-F/--fixup.");
+		die((_("Option -m cannot be combined with -c/-C/-F/--fixup.")));
 	if (edit_message)
 		use_message = edit_message;
 	if (amend && !use_message && !fixup_message)
 		use_message = "HEAD";
 	if (!use_message && renew_authorship)
-		die("--reset-author can be used only with -C, -c or --amend.");
+		die(_("--reset-author can be used only with -C, -c or --amend."));
 	if (use_message) {
 		const char *out_enc;
 		struct commit *commit;
 
 		commit = lookup_commit_reference_by_name(use_message);
 		if (!commit)
-			die("could not lookup commit %s", use_message);
+			die(_("could not lookup commit %s"), use_message);
 		out_enc = get_commit_output_encoding();
 		use_message_buffer = logmsg_reencode(commit, out_enc);
 
@@ -970,13 +970,13 @@ static int parse_and_validate_options(int argc, const char *argv[],
 	}
 
 	if (!!also + !!only + !!all + !!interactive > 1)
-		die("Only one of --include/--only/--all/--interactive can be used.");
+		die(_("Only one of --include/--only/--all/--interactive can be used."));
 	if (argc == 0 && (also || (only && !amend)))
-		die("No paths with --include/--only does not make sense.");
+		die(_("No paths with --include/--only does not make sense."));
 	if (argc == 0 && only && amend)
-		only_include_assumed = "Clever... amending the last one with dirty index.";
+		only_include_assumed = _("Clever... amending the last one with dirty index.");
 	if (argc > 0 && !also && !only)
-		only_include_assumed = "Explicit paths specified without -i nor -o; assuming --only paths...";
+		only_include_assumed = _("Explicit paths specified without -i nor -o; assuming --only paths...");
 	if (!cleanup_arg || !strcmp(cleanup_arg, "default"))
 		cleanup_mode = use_editor ? CLEANUP_ALL : CLEANUP_SPACE;
 	else if (!strcmp(cleanup_arg, "verbatim"))
@@ -986,14 +986,14 @@ static int parse_and_validate_options(int argc, const char *argv[],
 	else if (!strcmp(cleanup_arg, "strip"))
 		cleanup_mode = CLEANUP_ALL;
 	else
-		die("Invalid cleanup mode %s", cleanup_arg);
+		die(_("Invalid cleanup mode %s"), cleanup_arg);
 
 	handle_untracked_files_arg(s);
 
 	if (all && argc > 0)
-		die("Paths with -a does not make sense.");
+		die(_("Paths with -a does not make sense."));
 	else if (interactive && argc > 0)
-		die("Paths with --interactive does not make sense.");
+		die(_("Paths with --interactive does not make sense."));
 
 	if (null_termination && status_format == STATUS_FORMAT_LONG)
 		status_format = STATUS_FORMAT_PORCELAIN;
@@ -1074,7 +1074,7 @@ static int git_status_config(const char *k, const char *v, void *cb)
 		else if (!strcmp(v, "all"))
 			s->show_untracked_files = SHOW_ALL_UNTRACKED_FILES;
 		else
-			return error("Invalid untracked files mode '%s'", v);
+			return error(_("Invalid untracked files mode '%s'"), v);
 		return 0;
 	}
 	return git_diff_ui_config(k, v, NULL);
@@ -1180,9 +1180,9 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
 
 	commit = lookup_commit(sha1);
 	if (!commit)
-		die("couldn't look up newly created commit");
+		die(_("couldn't look up newly created commit"));
 	if (!commit || parse_commit(commit))
-		die("could not parse newly created commit");
+		die(_("could not parse newly created commit"));
 
 	strbuf_addstr(&format, "format:%h] %s");
 
@@ -1336,7 +1336,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 			reflog_msg = "commit (amend)";
 		commit = lookup_commit(head_sha1);
 		if (!commit || parse_commit(commit))
-			die("could not parse HEAD commit");
+			die(_("could not parse HEAD commit"));
 
 		for (c = commit->parents; c; c = c->next)
 			pptr = &commit_list_insert(c->item, pptr)->next;
@@ -1349,19 +1349,19 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 		pptr = &commit_list_insert(lookup_commit(head_sha1), pptr)->next;
 		fp = fopen(git_path("MERGE_HEAD"), "r");
 		if (fp == NULL)
-			die_errno("could not open '%s' for reading",
+			die_errno(_("could not open '%s' for reading"),
 				  git_path("MERGE_HEAD"));
 		while (strbuf_getline(&m, fp, '\n') != EOF) {
 			unsigned char sha1[20];
 			if (get_sha1_hex(m.buf, sha1) < 0)
-				die("Corrupt MERGE_HEAD file (%s)", m.buf);
+				die(_("Corrupt MERGE_HEAD file (%s)"), m.buf);
 			pptr = &commit_list_insert(lookup_commit(sha1), pptr)->next;
 		}
 		fclose(fp);
 		strbuf_release(&m);
 		if (!stat(git_path("MERGE_MODE"), &statbuf)) {
 			if (strbuf_read_file(&sb, git_path("MERGE_MODE"), 0) < 0)
-				die_errno("could not read MERGE_MODE");
+				die_errno(_("could not read MERGE_MODE"));
 			if (!strcmp(sb.buf, "no-ff"))
 				allow_fast_forward = 0;
 		}
@@ -1378,7 +1378,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 	if (strbuf_read_file(&sb, git_path(commit_editmsg), 0) < 0) {
 		int saved_errno = errno;
 		rollback_index_files();
-		die("could not read commit message: %s", strerror(saved_errno));
+		die(_("could not read commit message: %s"), strerror(saved_errno));
 	}
 
 	/* Truncate the message just before the diff, if any. */
@@ -1392,14 +1392,14 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 		stripspace(&sb, cleanup_mode == CLEANUP_ALL);
 	if (message_is_empty(&sb) && !allow_empty_message) {
 		rollback_index_files();
-		fprintf(stderr, "Aborting commit due to empty commit message.\n");
+		fprintf(stderr, _("Aborting commit due to empty commit message.\n"));
 		exit(1);
 	}
 
 	if (commit_tree(sb.buf, active_cache_tree->sha1, parents, commit_sha1,
 			author_ident.buf)) {
 		rollback_index_files();
-		die("failed to write commit object");
+		die(_("failed to write commit object"));
 	}
 	strbuf_release(&author_ident);
 
@@ -1417,11 +1417,11 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 
 	if (!ref_lock) {
 		rollback_index_files();
-		die("cannot lock HEAD ref");
+		die(_("cannot lock HEAD ref"));
 	}
 	if (write_ref_sha1(ref_lock, commit_sha1, sb.buf) < 0) {
 		rollback_index_files();
-		die("cannot update HEAD ref");
+		die(_("cannot update HEAD ref"));
 	}
 
 	unlink(git_path("MERGE_HEAD"));
@@ -1430,9 +1430,9 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 	unlink(git_path("SQUASH_MSG"));
 
 	if (commit_index_files())
-		die ("Repository has been updated, but unable to write\n"
+		die (_("Repository has been updated, but unable to write\n"
 		     "new_index file. Check that disk is not full or quota is\n"
-		     "not exceeded, and then \"git reset HEAD\" to recover.");
+		     "not exceeded, and then \"git reset HEAD\" to recover."));
 
 	rerere(0);
 	run_hook(get_index_file(), "post-commit", NULL);
-- 
1.7.2.3
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 40 of 222 in “No-op C gettext wrappers”
  1. 00/72 No-op C gettext wrappersÆvar Arnfjörð Bjarmason, Feb 19, 2011
  2. 01/72 gettext.h: add no-op _() and N_() wrappersÆvar Arnfjörð Bjarmason, Feb 19, 2011
  3. Jonathan NiederFeb 20, 2011
  4. Erik Faye-LundFeb 20, 2011
  5. Jonathan NiederFeb 20, 2011
  6. Ævar Arnfjörð BjarmasonFeb 20, 2011
  7. Jonathan NiederFeb 20, 2011
  8. 02/72 cache.h: include gettext.hÆvar Arnfjörð Bjarmason, Feb 19, 2011
  9. 03/72 t/test-lib.sh: add always-set NO_GETTEXT_POISON prerequisiteÆvar Arnfjörð Bjarmason, Feb 19, 2011
  10. Jonathan NiederFeb 20, 2011
  11. Ævar Arnfjörð BjarmasonFeb 20, 2011
  12. Jonathan NiederFeb 20, 2011
  13. Ævar Arnfjörð BjarmasonFeb 20, 2011
  14. Jonathan NiederFeb 20, 2011
  15. Ævar Arnfjörð BjarmasonFeb 20, 2011
  16. Jonathan NiederFeb 20, 2011
  17. Junio C HamanoFeb 21, 2011
  18. 04/72 gettextize: git-init basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  19. Jonathan NiederFeb 20, 2011
  20. 05/72 gettextize: git-init "Initialized [...] repository" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  21. 06/72 gettextize: git-clone basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  22. 07/72 gettextize: git-clone "Cloning into" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  23. Jonathan NiederFeb 21, 2011
  24. 08/72 gettextize: git-add basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  25. 09/72 gettextize: git-add "no files added" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  26. 10/72 gettextize: git-add "Use -f if you really want" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  27. 11/72 gettextize: git-add "pathspec [...] did not match" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  28. 12/72 gettextize: git-add "remove '%s'" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  29. 13/72 gettextize: git-add refresh_index messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  30. 14/72 gettextize: git-branch basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  31. 15/72 gettextize: git-branch "remote branch '%s' not found" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  32. 16/72 gettextize: git-branch "Deleted branch [...]" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  33. 17/72 gettextize: git-branch "git branch -v" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  34. 18/72 gettextize: git-branch "(no branch)" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  35. 19/72 gettextize: git-checkout basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  36. 20/72 gettextize: git-checkout: our/their version messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  37. 21/72 gettextize: git-checkout describe_detached_head messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  38. 22/72 gettextize: git-checkout "HEAD is now at" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  39. 23/72 gettextize: git-checkout "Switched to a .. branch" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  40. 24/72 gettextize: git-commit basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  41. 25/72 gettextize: git-commit "middle of a merge" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  42. 26/72 gettextize: git-commit formatting messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  43. 27/72 gettextize: git-commit print_summary messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  44. 28/72 gettextize: git-commit "enter the commit message" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  45. 29/72 gettextize: git-commit advice messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  46. 30/72 gettextize: git-diff basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  47. 31/72 gettextize: git-fetch basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  48. 32/72 gettextize: git-fetch formatting messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  49. 33/72 gettextize: git-fetch update_local_ref messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  50. 34/72 gettextize: git-fetch split up "(non-fast-forward)" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  51. 35/72 gettextize: git-grep basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  52. 36/72 gettextize: git-grep "--open-files-in-pager" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  53. 37/72 gettextize: git-log basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  54. 38/72 gettextize: git-log "--OPT does not make sense" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  55. 39/72 gettextize: git-merge basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  56. 40/72 gettextize: git-merge "Updating %s..%s" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  57. 41/72 gettextize: git-merge "You have not concluded your merge" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  58. 42/72 gettextize: git-merge "Wonderful" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  59. 43/72 gettextize: git-mv basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  60. 44/72 gettextize: git-mv "bad" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  61. 45/72 gettextize: git-rm basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  62. 46/72 gettextize: git-reset basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  63. 47/72 gettextize: git-reset reset_type_names messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  64. 48/72 gettextize: git-reset "Unstaged changes after reset" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  65. 49/72 gettextize: git-tag basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  66. 50/72 gettextize: git-tag tag_template messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  67. 51/72 gettextize: git-push basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  68. 52/72 gettextize: git-push "prevent you from losing" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  69. 53/72 gettextize: git-status basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  70. 54/72 gettextize: git-status "nothing to commit" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  71. 55/72 gettextize: git-status shortstatus messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  72. 56/72 gettextize: git-status "Changes to be committed" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  73. 57/72 gettextize: git-status "Initial commit" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  74. 58/72 gettextize: git-status "renamed: " messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  75. 59/72 gettextize: git-archive basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  76. 60/72 gettextize: git-bundle basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  77. 61/72 gettextize: git-clean basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  78. 62/72 gettextize: git-clean clean.requireForce messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  79. 63/72 gettextize: git-describe basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  80. 64/72 gettextize: git-gc basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  81. 65/72 gettextize: git-gc "Auto packing the repository" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  82. 66/72 gettextize: git-notes basic commandsÆvar Arnfjörð Bjarmason, Feb 19, 2011
  83. 67/72 gettextize: git-notes GIT_NOTES_REWRITE_MODE error messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  84. 68/72 gettextize: git-revert basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  85. 69/72 gettextize: git-revert "Your local changes" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  86. 70/72 gettextize: git-revert literal "me" messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  87. 71/72 gettextize: git-revert split up "could not revert/apply" messageÆvar Arnfjörð Bjarmason, Feb 19, 2011
  88. 72/72 gettextize: git-shortlog basic messagesÆvar Arnfjörð Bjarmason, Feb 19, 2011
  89. 0/3 No-op C gettext wrappersJonathan Nieder, Feb 21, 2011
  90. 1/3 i18n: add no-op _() and N_() wrappersJonathan Nieder, Feb 21, 2011
  91. 2/3 tests: add GETTEXT_POISON to simulate unfriendly translatorJonathan Nieder, Feb 21, 2011
  92. 3/3 tests: let GETTEXT_POISON be disabled at run timeJonathan Nieder, Feb 21, 2011
  93. 00/15 Mark "init", "clone", and "add" output for translationJonathan Nieder, Feb 21, 2011
  94. 01/15 i18n: add no-op _() and N_() wrappersJonathan Nieder, Feb 21, 2011
  95. 02/15 tests: add GETTEXT_POISON to simulate unfriendly translatorJonathan Nieder, Feb 21, 2011
  96. Ævar Arnfjörð BjarmasonFeb 21, 2011
  97. Jonathan NiederFeb 21, 2011
  98. 03/15 i18n: do not poison translations unless GIT_GETTEXT_POISON envvar is setJonathan Nieder, Feb 21, 2011
  99. 04/15 Makefile: "pot" target to extract messages marked for translationJonathan Nieder, Feb 21, 2011
  100. Ævar Arnfjörð BjarmasonFeb 21, 2011
  101. Jonathan NiederFeb 21, 2011
  102. Ævar Arnfjörð BjarmasonFeb 21, 2011
  103. 05/15 init: mark basic messages for translationJonathan Nieder, Feb 21, 2011
  104. 06/15 init: mark "Initialized [...] repository" for translationJonathan Nieder, Feb 21, 2011
  105. 07/15 clone: mark basic messages for translationJonathan Nieder, Feb 21, 2011
  106. 08/15 clone: split "Cloning into" message into twoJonathan Nieder, Feb 21, 2011
  107. 09/15 clone: mark "Cloning into" message for translationJonathan Nieder, Feb 21, 2011
  108. 10/15 add: mark basic messages for translationJonathan Nieder, Feb 21, 2011
  109. 11/15 add: mark "The following paths are ignored" for translationJonathan Nieder, Feb 21, 2011
  110. 12/15 add: mark "did not match any files" for translationJonathan Nieder, Feb 21, 2011
  111. 13/15 add -u --verbose: mark "remove '%s'" for translationJonathan Nieder, Feb 21, 2011
  112. 14/15 update-index --refresh --porcelain: add missing constJonathan Nieder, Feb 21, 2011
  113. 15/15 add --refresh --verbose: mark "Unstaged changes" heading for translationJonathan Nieder, Feb 21, 2011
  114. Ævar Arnfjörð BjarmasonFeb 21, 2011
  115. Junio C HamanoFeb 22, 2011
  116. Ævar Arnfjörð BjarmasonFeb 22, 2011
  117. Junio C HamanoFeb 22, 2011
  118. 00/73 No-op gettextize core Git C programsÆvar Arnfjörð Bjarmason, Feb 22, 2011
  119. Junio C HamanoFeb 23, 2011
  120. Junio C HamanoFeb 23, 2011
  121. Ævar Arnfjörð BjarmasonFeb 23, 2011
  122. 01/73 gettext: add no-op _() and N_() wrappersÆvar Arnfjörð Bjarmason, Feb 22, 2011
  123. 02/73 gettext tests: add GETTEXT_POISON to simulate unfriendly translatorÆvar Arnfjörð Bjarmason, Feb 22, 2011
  124. Jonathan NiederFeb 25, 2011
  125. Junio C HamanoFeb 25, 2011
  126. Ævar Arnfjörð BjarmasonFeb 25, 2011
  127. 03/73 gettext: do not poison translations unless GIT_GETTEXT_POISON envvar is setÆvar Arnfjörð Bjarmason, Feb 22, 2011
  128. 04/73 Makefile: "pot" target to extract messages marked for translationÆvar Arnfjörð Bjarmason, Feb 22, 2011
  129. Jonathan NiederFeb 25, 2011
  130. Ævar Arnfjörð BjarmasonFeb 25, 2011
  131. Jonathan NiederFeb 25, 2011
  132. Junio C HamanoFeb 25, 2011
  133. Jonathan NiederFeb 25, 2011
  134. 05/73 gettextize: git-init basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  135. 06/73 gettextize: git-init "Initialized [...] repository" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  136. 07/73 gettextize: git-clone basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  137. 08/73 gettextize: git-clone "Cloning into" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  138. 09/73 gettextize: git-clone "Cloning into" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  139. 10/73 gettextize: git-add basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  140. 11/73 gettextize: git-add "The following paths are ignored" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  141. 12/73 gettextize: git-add "did not match any files" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  142. 13/73 gettextize: git-add "remove '%s'" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  143. 14/73 gettextize: git-add "Unstaged changes" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  144. 15/73 gettextize: git-branch basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  145. 16/73 gettextize: git-branch "remote branch '%s' not found" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  146. Piotr KrukowieckiFeb 27, 2011
  147. 17/73 gettextize: git-branch "Deleted branch [...]" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  148. Jonathan NiederFeb 25, 2011
  149. Ævar Arnfjörð BjarmasonFeb 25, 2011
  150. Jonathan NiederFeb 25, 2011
  151. 18/73 gettextize: git-branch "git branch -v" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  152. Jonathan NiederFeb 25, 2011
  153. 19/73 gettextize: git-branch "(no branch)" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  154. 20/73 gettextize: git-checkout basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  155. 21/73 gettextize: git-checkout: our/their version messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  156. 22/73 gettextize: git-checkout describe_detached_head messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  157. 23/73 gettextize: git-checkout "HEAD is now at" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  158. Jonathan NiederFeb 25, 2011
  159. 24/73 gettextize: git-checkout "Switched to a .. branch" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  160. Jonathan NiederFeb 25, 2011
  161. Junio C HamanoFeb 25, 2011
  162. Ævar Arnfjörð BjarmasonFeb 25, 2011
  163. Junio C HamanoFeb 25, 2011
  164. Junio C HamanoFeb 26, 2011
  165. 25/73 gettextize: git-commit basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  166. 26/73 gettextize: git-commit "middle of a merge" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  167. 27/73 gettextize: git-commit formatting messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  168. commit: error out for missing commit message templateJonathan Nieder, Feb 25, 2011
  169. Junio C HamanoFeb 25, 2011
  170. Jonathan NiederFeb 25, 2011
  171. Junio C HamanoFeb 25, 2011
  172. Ævar Arnfjörð BjarmasonFeb 25, 2011
  173. Jonathan NiederFeb 25, 2011
  174. 28/73 gettextize: git-commit print_summary messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  175. 29/73 gettextize: git-commit "enter the commit message" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  176. 30/73 gettextize: git-commit advice messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  177. 31/73 gettextize: git-diff basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  178. 32/73 gettextize: git-fetch basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  179. 33/73 gettextize: git-fetch formatting messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  180. 34/73 gettextize: git-fetch update_local_ref messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  181. 35/73 gettextize: git-fetch split up "(non-fast-forward)" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  182. 36/73 gettextize: git-grep basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  183. 37/73 gettextize: git-grep "--open-files-in-pager" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  184. 38/73 gettextize: git-log basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  185. 39/73 gettextize: git-log "--OPT does not make sense" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  186. 40/73 gettextize: git-merge basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  187. 41/73 gettextize: git-merge "Updating %s..%s" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  188. 42/73 gettextize: git-merge "You have not concluded your merge" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  189. 43/73 gettextize: git-merge "Wonderful" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  190. 44/73 gettextize: git-mv basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  191. 45/73 gettextize: git-mv "bad" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  192. 46/73 gettextize: git-rm basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  193. 47/73 gettextize: git-reset basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  194. 48/73 gettextize: git-reset reset_type_names messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  195. 49/73 gettextize: git-reset "Unstaged changes after reset" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  196. 50/73 gettextize: git-tag basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  197. 51/73 gettextize: git-tag tag_template messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  198. 52/73 gettextize: git-push basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  199. 53/73 gettextize: git-push "prevent you from losing" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  200. 54/73 gettextize: git-status basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  201. 55/73 gettextize: git-status "nothing to commit" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  202. 56/73 gettextize: git-status shortstatus messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  203. 57/73 gettextize: git-status "Changes to be committed" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  204. 58/73 gettextize: git-status "Initial commit" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  205. 59/73 gettextize: git-status "renamed: " messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  206. 60/73 gettextize: git-archive basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  207. 61/73 gettextize: git-bundle basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  208. 62/73 gettextize: git-clean basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  209. 63/73 gettextize: git-clean clean.requireForce messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  210. 64/73 gettextize: git-describe basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  211. Jakub NarebskiFeb 26, 2011
  212. Junio C HamanoFeb 26, 2011
  213. Ævar Arnfjörð BjarmasonFeb 26, 2011
  214. 65/73 gettextize: git-gc basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  215. 66/73 gettextize: git-gc "Auto packing the repository" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  216. 67/73 gettextize: git-notes basic commandsÆvar Arnfjörð Bjarmason, Feb 22, 2011
  217. 68/73 gettextize: git-notes GIT_NOTES_REWRITE_MODE error messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  218. 69/73 gettextize: git-revert basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  219. 70/73 gettextize: git-revert "Your local changes" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  220. 71/73 gettextize: git-revert literal "me" messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011
  221. 72/73 gettextize: git-revert split up "could not revert/apply" messageÆvar Arnfjörð Bjarmason, Feb 22, 2011
  222. 73/73 gettextize: git-shortlog basic messagesÆvar Arnfjörð Bjarmason, Feb 22, 2011

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.