From: Johannes Sixt Date: Wed, 20 Dec 2006 14:18:40 GMT Subject: Re: [RFC/PATCH] Implement poor-man's submodule support using commit hooks Message-ID: <45894640.2E0768B5@eudaptics.com> In-Reply-To: <200612201309.02119.andyparkins@gmail.com> 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