Re: [DISCUSS] validation on git config user.email
From: Kristoffer Haugsbakk <hidden>
Date: 2025-09-14 11:58:38
From: Kristoffer Haugsbakk <hidden>
Date: 2025-09-14 11:58:38
On Fri, Sep 12, 2025, at 06:13, usharerose wrote:
I'm a Git user and curious about a specific aspect of Git's design regarding the 'user.email' configuration. Git allows any kind of values without restriction when setting 'user.email' via 'git config' (e.g., `git config user.email "not-a-valid-email-address"`). I'm interested in understanding the design philosophy or historical reasons behind this 'lack' of validation. I've glanced through the documentations, archived emails, or forum topics, but couldn't find a definitive or official statement.
What’s the positive case for email validation?