summaryrefslogtreecommitdiff
path: root/git-bisect.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-05-21 18:44:22 +0000
committerJunio C Hamano <gitster@pobox.com>2011-05-21 11:57:18 -0700
commitc6649c92711196c477181e1a50e5a080b204c3aa (patch)
tree6437282059973b4fe9713b730842c1e1dd3dd112 /git-bisect.sh
parentddd7a7c2220692ca3b25173b635218736c76b271 (diff)
downloadgit-c6649c92711196c477181e1a50e5a080b204c3aa.tar.gz
i18n: git-bisect echo + eval_gettext message
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-xgit-bisect.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/git-bisect.sh b/git-bisect.sh
index b29238db07..1b432b58f9 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -417,8 +417,11 @@ bisect_run () {
fi
if [ $res -ne 0 ]; then
- echo >&2 "bisect run failed:"
- echo >&2 "'bisect_state $state' exited with error code $res"
+ (
+ eval_gettext "bisect run failed:
+'bisect_state \$state' exited with error code \$res" &&
+ echo
+ ) >&2
exit $res
fi