git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Faye-Lund <kusmabite@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Tor Arntsen <tor@spacetec.no>, JT Olds <jtolds@xnet5.com>,
	Jeff King <peff@peff.net>,
	git@vger.kernel.org
Subject: Re: Git Rebase blows away GIT_AUTHOR_NAME
Date: Fri, 14 Jan 2011 17:13:59 +0100	[thread overview]
Message-ID: <AANLkTimZF+r2aNzrXsUuHVZR65N5wpOYLutFgGAGoci_@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=Z6Dx6m68zi7Q1eRVxX3DXOyKj+Ff177UCQrAj@mail.gmail.com>

On Fri, Jan 14, 2011 at 4:41 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Fri, Jan 14, 2011 at 1:53 AM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
>>
>> Linus, you wrote sanity_check (from 2744b23). Do you remember if there
>> were any specific reason for the minimum length of 3 of an
>> author-name? It seems that in Sweden, legal names can be even a single
>> letter (see Tor's comment)...
>
> Even if the legal name would be a single letter, you'd still need to
> have a surname.
>

I think Tor pointed out that he knew a swede with his full legal name
to be only one letter long. I would suppose that meant that he didn't
have a surename?

> The three-letter minimum is just a sanity check. If your name really
> is even just three letters, I suspect you're just lying. I don't know
> of anybody named "A B".
>

Thanks for clarifying that it's not there for a technical reason. The
thing is, git-am seems to be the only place where such a sanity-check
is performed. Shouldn't git-commit rather perform such checks also (if
such a check should be done at all), perhaps with an override similar
to --allow-empty? And on top of all it doesn't barf, it just silently
replace the name with the e-mail...

> That thing is supposed to be a *NAME*. Not shorthand. Not your first
> name. Not your nickname. If you have a nickname, put it in quotes
> inside the real name.
>
> I've seen too many broken source control systems that just take your
> login as a name *cough*CVS*cough*, and then people think it's
> "convenient" and "cool" to have a short name.
>
> It's not convenient. It's not cool. It's just shorthand where
> shorthand doesn't help. Then you end up using it in a public setting,
> and suddenly your cool shorthand or nickname isn't even remotely
> unique.
>
> No, there is no uniquness "requirements" for the name, but come on.
> Look at shortlog output some day. We try to use just the name because
> it looks better. But if people don't use their full name, it just
> looks _stupid_

I agree with you that using nicknames etc as author-name is a bit
silly, but I'm not sure if I want my version control system to tell me
that it thinks my author-name looks stupid :)

IMO, we should probably just remove the check altogether.

There's also an upper-bound of 60 characters. I'm wondering if this
could be hit by valid names, especially with non-western UTF-8
characters. Perhaps this should be removed also. The check for '@',
'<' and '>' is probably still OK.

  reply	other threads:[~2011-01-14 16:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 16:15 Git Rebase blows away GIT_AUTHOR_NAME JT Olds
2011-01-12 18:21 ` Jeff King
2011-01-13 17:00   ` JT Olds
2011-01-13 17:11     ` JT Olds
2011-01-13 17:47       ` Erik Faye-Lund
2011-01-13 17:52         ` JT Olds
2011-01-13 18:20           ` Erik Faye-Lund
2011-01-14  8:45             ` Tor Arntsen
2011-01-14  8:56               ` Erik Faye-Lund
2011-01-14  9:24                 ` Tor Arntsen
2011-01-14  9:53                   ` Erik Faye-Lund
2011-01-14 14:51                     ` JT Olds
2011-01-14 15:41                     ` Linus Torvalds
2011-01-14 16:13                       ` Erik Faye-Lund [this message]
2011-01-14 16:21                         ` Jeff King
2011-01-14 16:30                           ` Erik Faye-Lund
2011-01-14 16:33                             ` Jeff King
2011-01-14 18:02                               ` Jay Soffian
2011-01-14 18:28                           ` Junio C Hamano
2011-01-14 20:07                             ` Jeff King
2011-01-14 22:30                               ` Junio C Hamano
2011-01-17 22:21                           ` Jeff King
2011-01-17 22:29                             ` Erik Faye-Lund
2011-01-18  3:55                             ` JT Olds
2011-01-19  1:33                             ` Jay Soffian
     [not found]                       ` <AANLkTimZF+r2aNzrXsUuHVZR65N5wpOYLutFgGAGoci_@m ail.gmail.com>
2011-01-14 16:21                         ` Tor Arntsen
2011-01-14 16:26                           ` Erik Faye-Lund
2011-01-14 17:18                           ` Linus Torvalds
2011-01-14  9:55                   ` Erik Faye-Lund
2011-01-13 18:47     ` Jeff King

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=AANLkTimZF+r2aNzrXsUuHVZR65N5wpOYLutFgGAGoci_@mail.gmail.com \
    --to=kusmabite@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jtolds@xnet5.com \
    --cc=peff@peff.net \
    --cc=tor@spacetec.no \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).