Code

i18n: git-bisect echo + eval_gettext message
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 21 May 2011 18:44:22 +0000 (18:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 May 2011 18:57:18 +0000 (11:57 -0700)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh

index b29238db07b63b92c5fd50a606a22c2faeca40ff..1b432b58f9a47bc9ec045a7b8d659adedbfddfbb 100755 (executable)
@@ -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