git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What shall we do with the GECOS field again?
@ 2005-09-19 13:48 Petr Baudis
  2005-09-19 14:11 ` Kevin O'Riordan
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Petr Baudis @ 2005-09-19 13:48 UTC (permalink / raw)
  To: git; +Cc: torvalds

  Hello,

  after today's another confrontation with angry mob of real-world
Cogito users, I decided to revive the old discussion about what part of
the GECOS field should be used to prefill GIT_*_NAME. Linus stated in
<Pine.LNX.4.58.0504171636590.7211@ppc970.osdl.org> that he does not want
to cut based on ',', because it might throw away the first name of gecos
fields in the "Torvalds, Linus" name.

  Well, I have to say that from the GECOS fields I saw, none use that
format, but a lot of them used the realname,phone,something,phone,...
format. The other point is, that users usually do not expect their phone
number to end up in their name information in GIT commits, which results
in a very unpleasant surprise (doubly so due to the immutable GIT
nature). Yes, they should check after the first commit if they are happy
with everything, and yes, GECOS is world-readable and therefore they
shouldn't put information they don't want to be public to it. Still they
do and I think GIT shouldn't make them unpleasant surprises.

  So my proposal (patch will follow soon) is to cut everything after the
first , or ; from the GECOS field. These are the usual delimiters used
in the GECOS field, and hopefully this will prevent polluting the
realname fields of commit headers with crap and surprising the users.
In the (I think rather rare) situation of the "Baudis, Petr"-like GECOS
fields, this will just result in only the surname being in the realname
field, which seems to be much less harmful and comparably less evil to
me. 

  Opinions?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-09-20 10:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-19 13:48 What shall we do with the GECOS field again? Petr Baudis
2005-09-19 14:11 ` Kevin O'Riordan
2005-09-19 14:34   ` Matthias Urlichs
2005-09-19 14:30 ` A Large Angry SCM
2005-09-19 14:47   ` Matthias Urlichs
2005-09-19 16:16     ` A Large Angry SCM
2005-09-19 16:34       ` Petr Baudis
2005-09-19 16:06 ` Junio C Hamano
2005-09-19 16:16   ` Petr Baudis
2005-09-19 16:32   ` Linus Torvalds
2005-09-19 16:49     ` Junio C Hamano
2005-09-19 16:59       ` Linus Torvalds
2005-09-20  4:02         ` Ryan Anderson
2005-09-20  4:13           ` Linus Torvalds
2005-09-20  3:12       ` Horst von Brand
2005-09-20  6:30       ` Junio C Hamano
2005-09-19 16:32 ` Nikolai Weibull
2005-09-19 21:21   ` Nikolai Weibull
2005-09-20  7:10     ` Junio C Hamano
2005-09-20  1:53   ` Junio C Hamano
2005-09-20 10:31     ` Nikolai Weibull

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).