summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-12-27 00:11:45 -0800
committerJunio C Hamano <gitster@pobox.com>2016-12-27 00:11:45 -0800
commiteef32a0653f9b4e90ace46c9f041ff41dbf4e632 (patch)
tree6ffa066e35d25d17d3f657a5e7e793bdfa3dc53f /git-sh-setup.sh
parentad1b4e2c0e5521da39e13088f197b256303a2fc8 (diff)
parentacefe2be287b099886f1240bd1f5adfa66dbadee (diff)
downloadgit-eef32a0653f9b4e90ace46c9f041ff41dbf4e632.tar.gz
Merge branch 'va/i18n-even-more'
* va/i18n-even-more: i18n: fix misconversion in shell scripts
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r--git-sh-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index 240c7ebcd1..378928518b 100644
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
@@ -196,14 +196,14 @@ require_work_tree_exists () {
if test "z$(git rev-parse --is-bare-repository)" != zfalse
then
program_name=$0
- die "$(gettext "fatal: \$program_name cannot be used without a working tree.")"
+ die "$(eval_gettext "fatal: \$program_name cannot be used without a working tree.")"
fi
}
require_work_tree () {
test "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = true || {
program_name=$0
- die "$(gettext "fatal: \$program_name cannot be used without a working tree.")"
+ die "$(eval_gettext "fatal: \$program_name cannot be used without a working tree.")"
}
}