summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dec4ed9)
raw | patch | inline | side by side (parent: dec4ed9)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Mon, 13 Sep 2010 20:25:45 +0000 (20:25 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:58:22 +0000 (07:58 +0000) |
Gettextize the "Entering [...]" message. This is explicitly tested for
so we need to skip some tests with NO_GETTEXT_POISON.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
so we need to skip some tests with NO_GETTEXT_POISON.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
git-submodule.sh | patch | blob | history | |
t/t7407-submodule-foreach.sh | patch | blob | history |
diff --git a/git-submodule.sh b/git-submodule.sh
index d453fe96cd56031b6834dba1602beea77fe70293..6ec6aa5a9498401afffe2146802fe0fbde0afc0c 100755 (executable)
--- a/git-submodule.sh
+++ b/git-submodule.sh
do
if test -e "$path"/.git
then
- say "Entering '$prefix$path'"
+ say "$(eval_gettext "Entering '\$prefix\$path'")"
name=$(module_name "$path")
(
prefix="$prefix$path/"
index 905a8baae9a03a4b47512bb3eb3e0f9ec84f5ca4..217fe55be5e32e3e079a1d9e45aba3c62f2a3281 100755 (executable)
$pwd/clone-foo3-sub3-$sub3sha1
EOF
-test_expect_success 'test basic "submodule foreach" usage' '
+test_expect_success NO_GETTEXT_POISON 'test basic "submodule foreach" usage' '
git clone super clone &&
(
cd clone &&
Entering 'sub3'
EOF
-test_expect_success 'test messages from "foreach --recursive"' '
+test_expect_success NO_GETTEXT_POISON 'test messages from "foreach --recursive"' '
(
cd clone2 &&
git submodule foreach --recursive "true" > ../actual