Re: [RFC/PATCH] Implement poor-man's submodule support using commit hooks
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- Dec 20, 2006, 14:18 UTC
- 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