{"action":"created","issue":{"url":"https://api.github.com/repos/tj/git-extras/issues/625","repository_url":"https://api.github.com/repos/tj/git-extras","labels_url":"https://api.github.com/repos/tj/git-extras/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/tj/git-extras/issues/625/comments","events_url":"https://api.github.com/repos/tj/git-extras/issues/625/events","html_url":"https://github.com/tj/git-extras/issues/625","id":203776137,"number":625,"title":"pull-request command cannot find email settings","user":{"login":"jldugger","id":152055,"avatar_url":"https://avatars.githubusercontent.com/u/152055?v=3","gravatar_id":"","url":"https://api.github.com/users/jldugger","html_url":"https://github.com/jldugger","followers_url":"https://api.github.com/users/jldugger/followers","following_url":"https://api.github.com/users/jldugger/following{/other_user}","gists_url":"https://api.github.com/users/jldugger/gists{/gist_id}","starred_url":"https://api.github.com/users/jldugger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jldugger/subscriptions","organizations_url":"https://api.github.com/users/jldugger/orgs","repos_url":"https://api.github.com/users/jldugger/repos","events_url":"https://api.github.com/users/jldugger/events{/privacy}","received_events_url":"https://api.github.com/users/jldugger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-28T01:02:45Z","updated_at":"2017-01-31T17:40:35Z","closed_at":null,"body":"The man page git-commit-tree outlines how user.email is set:\r\n\r\n> In case (some of) these environment variables are not set, the information is taken from the configuration items user.name and user.email, or, if not present, the environment variable EMAIL, \r\n\r\nI'm using EMAIL=jldugger@osuosl.org, and git config recognizes this:\r\n\r\n```\r\nrepo $ git config -l | grep user.email\r\nuser.email=jldugger@osuosl.org\r\n```\r\n\r\nHowever, pull-request does not:\r\n\r\n```\r\nrepo $ git pull-request\r\ngit config user.email required\r\n```"},"comment":{"url":"https://api.github.com/repos/tj/git-extras/issues/comments/276435638","html_url":"https://github.com/tj/git-extras/issues/625#issuecomment-276435638","issue_url":"https://api.github.com/repos/tj/git-extras/issues/625","id":276435638,"user":{"login":"jldugger","id":152055,"avatar_url":"https://avatars.githubusercontent.com/u/152055?v=3","gravatar_id":"","url":"https://api.github.com/users/jldugger","html_url":"https://github.com/jldugger","followers_url":"https://api.github.com/users/jldugger/followers","following_url":"https://api.github.com/users/jldugger/following{/other_user}","gists_url":"https://api.github.com/users/jldugger/gists{/gist_id}","starred_url":"https://api.github.com/users/jldugger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jldugger/subscriptions","organizations_url":"https://api.github.com/users/jldugger/orgs","repos_url":"https://api.github.com/users/jldugger/repos","events_url":"https://api.github.com/users/jldugger/events{/privacy}","received_events_url":"https://api.github.com/users/jldugger/received_events","type":"User","site_admin":false},"created_at":"2017-01-31T17:40:35Z","updated_at":"2017-01-31T17:40:35Z","body":"@nicolaiskogheim actually, git *does* fall back to EMAIL. It's explicitly mentioned in the git-commit-tree manpage I quoted above. `git config` simply isn't listing it, presumably because EMAIL is not part of git configuration files.\r\n\r\nMy purpose here is unify configurations between personal and work computers, and use env variables to manage role dependent settings like EMAIL. This strategy is already working for git itself, but surprisingly not for git-pull-request. It's a pretty simple fix, but I'm not going to bother submitting a PR if maintainers are actively against it."}}
{"actor":{"display_login":"jldugger"}}