Andy Parkins wrote: > + # check if the subdir is a repository > + if [ ! -d "$WORKINGTOP$subdir/.git" ]; then > + echo "$subdir is not a git repository, so it can't be a submodule" You must redirect the message to >&2 otherwise it remains invisible (it goes into file newgitmodules). -- Hannes - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html