public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail•com>
To: 'usharerose' <ushareroses@gmail•com>, git@vger•kernel.org
Subject: Re: [DISCUSS] validation on git config user.email
Date: Sun, 14 Sep 2025 13:58:17 +0200	[thread overview]
Message-ID: <62774477-81d2-4959-aa5f-fe0dca023a2a@app.fastmail.com> (raw)
In-Reply-To: <CAJKmQvf-sLxowLJLitvqDmyL1BXXDK+anDE2jaBSEabApMNVoQ@mail.gmail.com>

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?

  parent reply	other threads:[~2025-09-14 11:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-12  4:13 [DISCUSS] validation on git config user.email usharerose
2025-09-12 15:00 ` rsbecker
2025-09-12 16:29   ` Junio C Hamano
2025-09-12 18:06     ` usharerose
2025-09-12 16:52   ` usharerose
2025-09-12 17:23     ` rsbecker
2025-09-12 17:44       ` usharerose
2025-09-14 11:17   ` Kristoffer Haugsbakk
2025-09-14 16:59     ` rsbecker
2025-09-12 15:13 ` Konstantin Ryabitsev
2025-09-12 15:39 ` Thomas Guyot
2025-09-12 18:02   ` usharerose
2025-09-14 11:58 ` Kristoffer Haugsbakk [this message]
2025-09-15 13:40   ` usharerose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62774477-81d2-4959-aa5f-fe0dca023a2a@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=ushareroses@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox