Skip to content

Commit c6649c9

Browse files
avargitster
authored andcommitted
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>
1 parent ddd7a7c commit c6649c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

git-bisect.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,11 @@ bisect_run () {
417417
fi
418418

419419
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
422425
exit $res
423426
fi
424427

0 commit comments

Comments
 (0)