git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Next: Miklos Vajna
Message 1 of 6 in “Checking for a valid email address”
  1. Adam MercerFeb 27, 2009
  2. Miklos VajnaFeb 27, 2009
  3. Adam MercerFeb 27, 2009
  4. demerphqFeb 27, 2009
  5. demerphqFeb 27, 2009
  6. Adam MercerFeb 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.