From c6649c92711196c477181e1a50e5a080b204c3aa Mon Sep 17 00:00:00 2001 From: Ævar Arnfjörð Bjarmason Date: Sat, 21 May 2011 18:44:22 +0000 Subject: i18n: git-bisect echo + eval_gettext message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- git-bisect.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'git-bisect.sh') diff --git a/git-bisect.sh b/git-bisect.sh index b29238db0..1b432b58f 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 -- cgit v1.2.3