{"thread":{"id":"3841","subject":"git ident","startedAt":"2006-04-09T18:48:49Z","lastAt":"2006-04-09T19:02:42Z","messageCount":3,"participants":["Jeremy English","Junio C Hamano","sean"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"18509","messageId":"44395711.7000902@jeremyenglish.org","threadId":"3841","inReplyTo":null,"subject":"git ident","fromName":"Jeremy English","fromEmail":"jhe@jeremyenglish.org","sentAt":"2006-04-09T18:48:49Z","receivedAt":"2006-04-09T18:48:49Z","isPatch":false,"sender":{"key":"jhe@jeremyenglish.org","avatar":null},"body":"I keep a local project in a git archive.  After the last upgrade I get a \nident error when trying to commit.  It works after I set the environment \nvariables.  What I don't like is that the error comes up after I have \ntyped in my comment, then my comment is lost, that's frustrating.  The \nother thing is I don't care if the commit is coming from a valid person, \nwhy require this?\n"},{"id":"18510","messageId":"7v7j5ybmjx.fsf@assigned-by-dhcp.cox.net","threadId":"3841","inReplyTo":"44395711.7000902@jeremyenglish.org","subject":"Re: git ident","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-04-09T19:01:38Z","receivedAt":"2006-04-09T19:01:38Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeremy English <jhe@jeremyenglish.org> writes:\n\n> What I don't like is that the error comes up\n> after I have typed in my comment, then my comment is lost, that's\n> frustrating.\n\nSympathizable, but presumably a new user needs to be burned only\nonce (set them either in $HOME/.profile or .git/config if you\nwant to use separate identity per project).\n\n> ....  The other thing is I don't care if the commit is coming\n> from a valid person, why require this?\n\nBecause public projects like the kernel wants to prevent\notherwise good commits from a misconfigured repository to\npropagate into them.  We could have a separate per-repository\nconfiguration to say \"broken identity is not a problem for this\nproject\", but if the user has to set that in the configuration,\nshe would be better off setting her identity there.\n\nAnd making it the default not to require the identity is going\nbackwards. Our primary focus is to support public, multi-person,\ndistributed development project.\n"},{"id":"18512","messageId":"BAYC1-PASMTP08A5DFC9CAE6F26A5E3B68AECF0@CEZ.ICE","threadId":"3841","inReplyTo":"44395711.7000902@jeremyenglish.org","subject":"Re: git ident","fromName":"sean","fromEmail":"seanlkml@sympatico.ca","sentAt":"2006-04-09T19:02:42Z","receivedAt":"2006-04-09T19:02:42Z","isPatch":false,"sender":{"key":"seanlkml@sympatico.ca","avatar":"https://gravatar.com/avatar/f92923f54fc08c401fc59b71829d4b89e9b8087fbba45ff87c82e6a83aee02ae?d=mp&s=160"},"body":"On Sun, 09 Apr 2006 13:48:49 -0500\nJeremy English <jhe@jeremyenglish.org> wrote:\n\n> I keep a local project in a git archive.  After the last upgrade I get a \n> ident error when trying to commit.  It works after I set the environment \n> variables.  What I don't like is that the error comes up after I have \n> typed in my comment, then my comment is lost, that's frustrating.  The \n> other thing is I don't care if the commit is coming from a valid person, \n> why require this?\n\nBelieve it is required to reduce the number of commits made in the \nkernel project with incorrect attribution.   To remove the need to\nset environment variables, use the repo-config command to set some\ndefaults:\n\n$ git repo-config user.email \"you@email.com\"\n$ git repo-config user.name \"your name\"\n\nHTH,\nSean\n"}]}