Re: Multiple user.name and user.email (possible feature request)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eli Barzilay
Date: Sunday, April 18, 2010 - 1:11 pm

On Apr 18, Steven Michalske wrote:

(As already guessed) I really do want it to error instead of guessing.
My problem is that I'm very often checking out trees of one project
(and starting from today that svn-checkout has been replaced by a git
clone), and I will definitely get confused.  (It seems to me that this
is a common source of problems, leading to much flammage.)


On Apr 18, Jeff King wrote:

Well, that would get closer, but I'd really prefer if there was a
do-not-use-me value I could set.  But in any case, even this is not
working for me -- digging through my environment, I found that I have
EMAIL set to my email, and so git guesses my name and doesn't produce
that huge response.

Worse, if I set up

  [user]
    name = ""
    email = ""

in my ~/.gitconfig (and make sure that I don't have EMAIL set), then
git still guesses the values -- without any warning.


On Apr 18, Jeff King wrote:

Yes, that sounds like it will work, and I'll do that.  But in general
this well beyond what most people would do.  If it was done as I
suggested (actually, how I thought it would behave), then this whole
thing would be easy even for people who are afraid of shell
programming...

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Multiple user.name and user.email (possible feature re ..., Steven Michalske, (Sun Apr 18, 11:16 am)
Re: Multiple user.name and user.email (possible feature re ..., Sverre Rabbelier, (Sun Apr 18, 11:43 am)
Re: Multiple user.name and user.email (possible feature re ..., Eli Barzilay, (Sun Apr 18, 1:11 pm)