{"thread":{"id":"29168","subject":"Suppressing the user.name warning","startedAt":"2011-12-14T21:50:21Z","lastAt":"2011-12-14T22:16:08Z","messageCount":2,"participants":["Jay Levitt","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"181188","messageId":"4EE91A1D.6080908@gmail.com","threadId":"29168","inReplyTo":null,"subject":"Suppressing the user.name warning","fromName":"Jay Levitt","fromEmail":"jay.levitt@gmail.com","sentAt":"2011-12-14T21:50:21Z","receivedAt":"2011-12-14T21:50:21Z","isPatch":false,"sender":{"key":"jay.levitt@gmail.com","avatar":null},"body":"Is there a way to suppress the user.name/email warning without configuring \nthem in .gitconfig? I want to pass them in SSH as GIT_AUTHOR_NAME and \nGIT_AUTHOR_EMAIL; git uses the values, but still warns me every time.\n\nSeems like if git can get that data in any form, it shouldn't complain about \nnot having it.  No?\n\nJay Levitt\n"},{"id":"181191","messageId":"20111214221608.GA12644@sigill.intra.peff.net","threadId":"29168","inReplyTo":"4EE91A1D.6080908@gmail.com","subject":"Re: Suppressing the user.name warning","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2011-12-14T22:16:08Z","receivedAt":"2011-12-14T22:16:08Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Dec 14, 2011 at 04:50:21PM -0500, Jay Levitt wrote:\n\n> Is there a way to suppress the user.name/email warning without\n> configuring them in .gitconfig? I want to pass them in SSH as\n> GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL; git uses the values, but still\n> warns me every time.\n> \n> Seems like if git can get that data in any form, it shouldn't\n> complain about not having it.  No?\n\nGit should not be complaining if it gets the data from the environment.\nHowever, you should also be setting GIT_COMMITTER_NAME and\nGIT_COMMITTER_EMAIL. Otherwise they will come from the passwd file, and\ngit will issue the warning.\n\n-Peff\n"}]}