summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-07-21 09:49:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-23 11:19:09 -0700
commit5507067dbdf4ff2ff289302f803137d30c973d95 (patch)
tree633953eb1b43cff1fbc735d7c7de8443ac136df6
parentbuiltin/config.c: mark more strings for translation (diff)
downloadtgif-5507067dbdf4ff2ff289302f803137d30c973d95.tar.xz
builtin/grep.c: mark strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index 9774920999..58f941e951 100644
--- 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];