Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin/grep.c: mark strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 21 Jul 2018 07:49:23 +0000
(09:49 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Jul 2018 18:19:09 +0000
(11:19 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
1d28ff4
)
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 9774920999f9905def980e35834fce1de239e33e..58f941e951949ab9a3d7c2cc34e9072da550d314 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-489,7
+489,7
@@
static int grep_cache(struct grep_opt *opt, struct repository *repo,
}
if (repo_read_index(repo) < 0)
- die(
"index file corrupt"
);
+ die(
_("index file corrupt")
);
for (nr = 0; nr < repo->index->cache_nr; nr++) {
const struct cache_entry *ce = repo->index->cache[nr];