summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1008b05)
raw | patch | inline | side by side (parent: 1008b05)
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 "Submodule path '$path' not initialized" 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>
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>
git-submodule.sh | patch | blob | history | |
t/t7400-submodule-basic.sh | patch | blob | history |
diff --git a/git-submodule.sh b/git-submodule.sh
index cd37bf71f93acd36c063cb61ebbe776eee6b9eb6..edf877475d8952e63eca95419061976ff2949a21 100755 (executable)
--- a/git-submodule.sh
+++ b/git-submodule.sh
# Only mention uninitialized submodules when its
# path have been specified
test "$#" != "0" &&
- say "Submodule path '$path' not initialized" &&
- say "Maybe you want to use 'update --init'?"
+ say "$(eval_gettext "Submodule path '\$path' not initialized
+Maybe you want to use 'update --init'?")"
continue
fi
index 70107938fc061ad3dfbc897ac9d97313dfc43cbb..c46530fd51ce88776bd61e194591d9ec53b4dc31 100755 (executable)
test_cmp empty staged
'
-test_expect_success 'update --init' '
+test_expect_success NO_GETTEXT_POISON 'update --init' '
mv init init2 &&
git config -f .gitmodules submodule.example.url "$(pwd)/init2" &&
git config --remove-section submodule.example &&