{"action":"created","issue":{"url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/16","repository_url":"https://api.github.com/repos/tommarshall/git-good-commit","labels_url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/16/comments","events_url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/16/events","html_url":"https://github.com/tommarshall/git-good-commit/pull/16","id":221277955,"number":16,"title":"Added `make install` and `make repair` targets.","user":{"login":"ssbarnea","id":102495,"avatar_url":"https://avatars0.githubusercontent.com/u/102495?v=3","gravatar_id":"","url":"https://api.github.com/users/ssbarnea","html_url":"https://github.com/ssbarnea","followers_url":"https://api.github.com/users/ssbarnea/followers","following_url":"https://api.github.com/users/ssbarnea/following{/other_user}","gists_url":"https://api.github.com/users/ssbarnea/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbarnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbarnea/subscriptions","organizations_url":"https://api.github.com/users/ssbarnea/orgs","repos_url":"https://api.github.com/users/ssbarnea/repos","events_url":"https://api.github.com/users/ssbarnea/events{/privacy}","received_events_url":"https://api.github.com/users/ssbarnea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-12T14:18:00Z","updated_at":"2017-04-26T14:09:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tommarshall/git-good-commit/pulls/16","html_url":"https://github.com/tommarshall/git-good-commit/pull/16","diff_url":"https://github.com/tommarshall/git-good-commit/pull/16.diff","patch_url":"https://github.com/tommarshall/git-good-commit/pull/16.patch"},"body":"Make install will install the hook globally and make repair will install the hook on all existing git repos in the user home directory (recursive find)."},"comment":{"url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/comments/297420391","html_url":"https://github.com/tommarshall/git-good-commit/pull/16#issuecomment-297420391","issue_url":"https://api.github.com/repos/tommarshall/git-good-commit/issues/16","id":297420391,"user":{"login":"tommarshall","id":1125251,"avatar_url":"https://avatars2.githubusercontent.com/u/1125251?v=3","gravatar_id":"","url":"https://api.github.com/users/tommarshall","html_url":"https://github.com/tommarshall","followers_url":"https://api.github.com/users/tommarshall/followers","following_url":"https://api.github.com/users/tommarshall/following{/other_user}","gists_url":"https://api.github.com/users/tommarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/tommarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommarshall/subscriptions","organizations_url":"https://api.github.com/users/tommarshall/orgs","repos_url":"https://api.github.com/users/tommarshall/repos","events_url":"https://api.github.com/users/tommarshall/events{/privacy}","received_events_url":"https://api.github.com/users/tommarshall/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T14:09:49Z","updated_at":"2017-04-26T14:09:49Z","body":"Hi @ssbarnea,\r\n\r\nThanks for the PR.\r\n\r\nAt [the moment the recommended installation method](https://github.com/tommarshall/git-good-commit#installation) is to download the script directly. This felt like the simplest approach given that you only need the single script, however I have been considering alternatives as `git init` will not overwrite an existing hook, which makes updating trickier than I'd like it to be.\r\n\r\nIf I'm understanding this correctly it appears that `make repair` is replacing the `.git/hooks/commit-msg` files with a symlink to the file within the repository, rather than within `~/.git-template/`, i.e. a user would need to keep the repository on disk after running `make repair`. Is that correct?\r\n\r\nTom"}}
{"actor":{"display_login":"tommarshall"}}