Thread (63 messages) read the whole thread 63 messages, 5 authors, 2016-06-15
STALE3699d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v1 [diff vs current]

[PATCH 05/13] gettextize: git-add refresh_index message

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:27
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---

I can't find the command that makes this message appear, but it seems
to be a human-readable header printed by "git-add".

 builtin/add.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin/add.c b/builtin/add.c
index 6578cdd..eed37bf 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -188,7 +188,7 @@ static void refresh(int verbose, const char **pathspec)
 		/* nothing */;
 	seen = xcalloc(specs, 1);
 	refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
-		      pathspec, seen, "Unstaged changes after refreshing the index:");
+		      pathspec, seen, _("Unstaged changes after refreshing the index:"));
 	for (i = 0; i < specs; i++) {
 		if (!seen[i])
 			die(_("pathspec '%s' did not match any files"), pathspec[i]);
-- 
1.7.2.2.579.g2183d
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help