summaryrefslogtreecommitdiff
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-07-21 07:49:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-23 18:19:09 (GMT)
commit5507067dbdf4ff2ff289302f803137d30c973d95 (patch)
tree633953eb1b43cff1fbc735d7c7de8443ac136df6 /builtin/grep.c
parent1d28ff4ce6d767b0f16f6e2ed872d98abc40480f (diff)
downloadgit-5507067dbdf4ff2ff289302f803137d30c973d95.zip
git-5507067dbdf4ff2ff289302f803137d30c973d95.tar.gz
git-5507067dbdf4ff2ff289302f803137d30c973d95.tar.bz2
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>
Diffstat (limited to 'builtin/grep.c')
-rw-r--r--builtin/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index 9774920..58f941e 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];