Checking for a valid email address
- From
Adam Mercer <ramercer@gmail.com>
- Date
- Feb 27, 2009, 03:28 UTC
- Message-ID
- <799406d60902261928q2c691112yf24d01b92a3dad6c@mail.gmail.com>
Hi
We are in the process of migrating some of our repositories from CVS to Git in a two step process, first to a centralised Git setup then (hopefully) onto a more distributed development model. In the testing we have been doing so far the only problem we have run into is developers not setting their email addresses correctly so the changelogs are filled with spurious address. Does anyone know of a pre-commit hook that could check for a valid email address prior to allowing a commit? Or another way that this can be acheived?
Cheers
Adam