Thread (49 messages) flat view 49 messages, 1 author, 2016-06-15
DORMANTno replies

[PATCH v2 41/48] i18n: git-bisect echo + eval_gettext message

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:51:17
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 git-bisect.sh |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index b29238d..1b432b5 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
 
-- 
1.7.5.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help