aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:56 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:55 -0800
commite4fe4ba57ae32a5a1334db4206412e12333754a3 (patch)
tree4a2041a4b3a5b3bf096cd9fa05d3fe3657ad470c /builtin
parent2fc5f9f189512b82f2154658079e9c3889d4c136 (diff)
downloadgit-e4fe4ba57ae32a5a1334db4206412e12333754a3.tar.gz
git-e4fe4ba57ae32a5a1334db4206412e12333754a3.tar.xz
i18n: git-grep "--open-files-in-pager" message
Gettextize the "--open-files-in-pager only works on the worktree" message. A test in t7811-grep-open.sh explicitly checked for this message. Change it to skip under GETTEXT_POISON=YesPlease. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index d35b76cbb..dfc32fbe6 100644
--- a/builtin/grep.c
+++ b/builtin/grep.c
@@ -1061,7 +1061,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
}
if (show_in_pager && (cached || list.nr))
- die("--open-files-in-pager only works on the worktree");
+ die(_("--open-files-in-pager only works on the worktree"));
if (show_in_pager && opt.pattern_list && !opt.pattern_list->next) {
const char *pager = path_list.items[0].string;