{"action":"created","issue":{"url":"https://api.github.com/repos/git/git-scm.com/issues/877","repository_url":"https://api.github.com/repos/git/git-scm.com","labels_url":"https://api.github.com/repos/git/git-scm.com/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/git/git-scm.com/issues/877/comments","events_url":"https://api.github.com/repos/git/git-scm.com/issues/877/events","html_url":"https://github.com/git/git-scm.com/issues/877","id":185118887,"number":877,"title":"Save branch name for each commit","user":{"login":"rrrrrr64","id":18172876,"avatar_url":"https://avatars.githubusercontent.com/u/18172876?v=3","gravatar_id":"","url":"https://api.github.com/users/rrrrrr64","html_url":"https://github.com/rrrrrr64","followers_url":"https://api.github.com/users/rrrrrr64/followers","following_url":"https://api.github.com/users/rrrrrr64/following{/other_user}","gists_url":"https://api.github.com/users/rrrrrr64/gists{/gist_id}","starred_url":"https://api.github.com/users/rrrrrr64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrrrrr64/subscriptions","organizations_url":"https://api.github.com/users/rrrrrr64/orgs","repos_url":"https://api.github.com/users/rrrrrr64/repos","events_url":"https://api.github.com/users/rrrrrr64/events{/privacy}","received_events_url":"https://api.github.com/users/rrrrrr64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-25T13:33:14Z","updated_at":"2016-10-29T21:20:53Z","closed_at":null,"body":"To get the original branch name of a commit, I need to create a hook to add the current branch name in the commit message.\r\n\r\nWhen GIT will do this natively?\r\n\r\n[prepare-commit-msg.txt](https://github.com/git/git-scm.com/files/550689/prepare-commit-msg.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/git/git-scm.com/issues/comments/257116666","html_url":"https://github.com/git/git-scm.com/issues/877#issuecomment-257116666","issue_url":"https://api.github.com/repos/git/git-scm.com/issues/877","id":257116666,"user":{"login":"jnavila","id":156172,"avatar_url":"https://avatars.githubusercontent.com/u/156172?v=3","gravatar_id":"","url":"https://api.github.com/users/jnavila","html_url":"https://github.com/jnavila","followers_url":"https://api.github.com/users/jnavila/followers","following_url":"https://api.github.com/users/jnavila/following{/other_user}","gists_url":"https://api.github.com/users/jnavila/gists{/gist_id}","starred_url":"https://api.github.com/users/jnavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnavila/subscriptions","organizations_url":"https://api.github.com/users/jnavila/orgs","repos_url":"https://api.github.com/users/jnavila/repos","events_url":"https://api.github.com/users/jnavila/events{/privacy}","received_events_url":"https://api.github.com/users/jnavila/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T21:20:53Z","updated_at":"2016-10-29T21:20:53Z","body":"As you remarked it, Git already supports this feature through the prepare-commit-message hook."}}
{"actor":{"display_login":"jnavila"}}