summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f62f821)
raw | patch | inline | side by side (parent: f62f821)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 21 May 2011 18:44:06 +0000 (18:44 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 21 May 2011 18:57:16 +0000 (11:57 -0700) |
Gettextize the "Entering [...]" message. This is explicitly tested for
so we need to skip a portion of a test with test_i18ncmp.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
so we need to skip a portion of a test with test_i18ncmp.
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 | |
t/t7407-submodule-foreach.sh | patch | blob | history |
diff --git a/git-submodule.sh b/git-submodule.sh
index 5de34e40c06a0afbb2157d3ee3482fd02b3ffa74..f7d7f51c37889b6d29239e794e444d0c1bcfa241 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 e5be13c271c92ce7c51601ee1eaf966d849d8ae4..ae3bd18a5ed167caa461f269cd77b6f34a6ae7b0 100755 (executable)
git config foo.bar zar &&
git submodule foreach "git config --file \"\$toplevel/.git/config\" foo.bar"
) &&
- test_cmp expect actual
+ test_i18ncmp expect actual
'
test_expect_success 'setup nested submodules' '
cd clone2 &&
git submodule foreach --recursive "true" > ../actual
) &&
- test_cmp expect actual
+ test_i18ncmp expect actual
'
cat > expect <<EOF