Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: git-bisect echo + gettext messages
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Sat, 21 May 2011 18:44:21 +0000
(18:44 +0000)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
d0238a8
)
diff --git
a/git-bisect.sh
b/git-bisect.sh
index 4420b46a44cb4c709e28aa287a22bb1946f46900..b29238db07b63b92c5fd50a606a22c2faeca40ff 100755
(executable)
--- a/
git-bisect.sh
+++ b/
git-bisect.sh
@@
-36,7
+36,10
@@
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
bisect_autostart() {
test -s "$GIT_DIR/BISECT_START" || {
bisect_autostart() {
test -s "$GIT_DIR/BISECT_START" || {
- echo >&2 'You need to start by "git bisect start"'
+ (
+ gettext "You need to start by \"git bisect start\"" &&
+ echo
+ ) >&2
if test -t 0
then
echo >&2 -n 'Do you want me to do it for you [Y/n]? '
if test -t 0
then
echo >&2 -n 'Do you want me to do it for you [Y/n]? '
@@
-239,7
+242,10
@@
bisect_next_check() {
t,,good)
# have bad but not good. we could bisect although
# this is less optimum.
t,,good)
# have bad but not good. we could bisect although
# this is less optimum.
- echo >&2 'Warning: bisecting only with a bad commit.'
+ (
+ gettext "Warning: bisecting only with a bad commit." &&
+ echo
+ ) >&2
if test -t 0
then
printf >&2 'Are you sure [Y/n]? '
if test -t 0
then
printf >&2 'Are you sure [Y/n]? '
@@
-403,7
+409,10
@@
bisect_run () {
if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \
> /dev/null; then
if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \
> /dev/null; then
- echo >&2 "bisect run cannot continue any more"
+ (
+ gettext "bisect run cannot continue any more" &&
+ echo
+ ) >&2
exit $res
fi
exit $res
fi