Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: git-submodule echo + eval_gettext messages
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Sat, 21 May 2011 18:43:59 +0000
(18:43 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 21 May 2011 18:57:15 +0000
(11:57 -0700)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d0ad825
)
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 816ab3d95f4a9e85c81ad1bd92d1acda02104e33..547f5cbcfc0b9e982f47608ff577645419a52ed9 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-234,7
+234,7
@@
cmd_add()
then
if test -d "$path"/.git -o -f "$path"/.git
then
- e
cho "Adding existing repo at '$path' to the index"
+ e
val_gettext "Adding existing repo at '\$path' to the index"; echo
else
die "'$path' already exists and is not a valid git repo"
fi
@@
-658,7
+658,10
@@
cmd_summary() {
;; # removed
*)
# unexpected type
- echo >&2 "unexpected mode $mod_dst"
+ (
+ eval_gettext "unexpected mode \$mod_dst" &&
+ echo
+ ) >&2
continue ;;
esac
fi