* git ident
@ 2006-04-09 18:48 Jeremy English
2006-04-09 19:01 ` Junio C Hamano
[not found] ` <20060409150242.1796c993.seanlkml@sympatico.ca>
0 siblings, 2 replies; 3+ messages in thread
From: Jeremy English @ 2006-04-09 18:48 UTC (permalink / raw)
To: git
I keep a local project in a git archive. After the last upgrade I get a
ident error when trying to commit. It works after I set the environment
variables. What I don't like is that the error comes up after I have
typed in my comment, then my comment is lost, that's frustrating. The
other thing is I don't care if the commit is coming from a valid person,
why require this?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: git ident
2006-04-09 18:48 git ident Jeremy English
@ 2006-04-09 19:01 ` Junio C Hamano
[not found] ` <20060409150242.1796c993.seanlkml@sympatico.ca>
1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2006-04-09 19:01 UTC (permalink / raw)
To: Jeremy English; +Cc: git
Jeremy English <jhe@jeremyenglish.org> writes:
> What I don't like is that the error comes up
> after I have typed in my comment, then my comment is lost, that's
> frustrating.
Sympathizable, but presumably a new user needs to be burned only
once (set them either in $HOME/.profile or .git/config if you
want to use separate identity per project).
> .... The other thing is I don't care if the commit is coming
> from a valid person, why require this?
Because public projects like the kernel wants to prevent
otherwise good commits from a misconfigured repository to
propagate into them. We could have a separate per-repository
configuration to say "broken identity is not a problem for this
project", but if the user has to set that in the configuration,
she would be better off setting her identity there.
And making it the default not to require the identity is going
backwards. Our primary focus is to support public, multi-person,
distributed development project.
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <20060409150242.1796c993.seanlkml@sympatico.ca>]
* Re: git ident
[not found] ` <20060409150242.1796c993.seanlkml@sympatico.ca>
@ 2006-04-09 19:02 ` sean
0 siblings, 0 replies; 3+ messages in thread
From: sean @ 2006-04-09 19:02 UTC (permalink / raw)
To: Jeremy English; +Cc: git
On Sun, 09 Apr 2006 13:48:49 -0500
Jeremy English <jhe@jeremyenglish.org> wrote:
> I keep a local project in a git archive. After the last upgrade I get a
> ident error when trying to commit. It works after I set the environment
> variables. What I don't like is that the error comes up after I have
> typed in my comment, then my comment is lost, that's frustrating. The
> other thing is I don't care if the commit is coming from a valid person,
> why require this?
Believe it is required to reduce the number of commits made in the
kernel project with incorrect attribution. To remove the need to
set environment variables, use the repo-config command to set some
defaults:
$ git repo-config user.email "you@email.com"
$ git repo-config user.name "your name"
HTH,
Sean
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-09 19:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-09 18:48 git ident Jeremy English
2006-04-09 19:01 ` Junio C Hamano
[not found] ` <20060409150242.1796c993.seanlkml@sympatico.ca>
2006-04-09 19:02 ` sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox