summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0ad825)
raw | patch | inline | side by side (parent: d0ad825)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | patch | blob | history |
diff --git a/git-submodule.sh b/git-submodule.sh
index 816ab3d95f4a9e85c81ad1bd92d1acda02104e33..547f5cbcfc0b9e982f47608ff577645419a52ed9 100755 (executable)
--- a/git-submodule.sh
+++ b/git-submodule.sh
then
if test -d "$path"/.git -o -f "$path"/.git
then
- echo "Adding existing repo at '$path' to the index"
+ eval_gettext "Adding existing repo at '\$path' to the index"; echo
else
die "'$path' already exists and is not a valid git repo"
fi
;; # removed
*)
# unexpected type
- echo >&2 "unexpected mode $mod_dst"
+ (
+ eval_gettext "unexpected mode \$mod_dst" &&
+ echo
+ ) >&2
continue ;;
esac
fi