cd "`git rev-parse --show-toplevel`" || exit 1
if [ \! -f .gitmodules ]; then
- echo "The command must be run in the top-level directory" >&2
- echo "of a repository with submodules" >&2
+ echo "Cannot find .gitmodules. The command must be run " >&2
+ echo "in the top-level directory of a repository with submodules" >&2
exit 1
fi