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>
Ævar Arnfjörð Bjarmason committed
May 21, 2011 at 18:44 UTC
c6649c92711196c477181e1a50e5a080b204c3aa
1 file changed
+5
-2
git-bisect.sh
+5
-2
@@ -417,8 +417,11 @@ bisect_run () {
417
fi
418
419
if [ $res -ne 0 ]; then
420
- echo >&2 "bisect run failed:"
421
- echo >&2 "'bisect_state $state' exited with error code $res"
420
+ (
421
+ eval_gettext "bisect run failed:
422
+'bisect_state \$state' exited with error code \$res" &&
423
+ echo
424
+ ) >&2
425
exit $res
426
fi
427