{"action":"created","issue":{"url":"https://api.github.com/repos/git-hooks/git-hooks/issues/13","labels_url":"https://api.github.com/repos/git-hooks/git-hooks/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/git-hooks/git-hooks/issues/13/comments","events_url":"https://api.github.com/repos/git-hooks/git-hooks/issues/13/events","html_url":"https://github.com/git-hooks/git-hooks/issues/13","id":94709873,"number":13,"title":"Doesnt work in sourcetree","user":{"login":"callerc1","id":1370654,"avatar_url":"https://avatars.githubusercontent.com/u/1370654?v=3","gravatar_id":"","url":"https://api.github.com/users/callerc1","html_url":"https://github.com/callerc1","followers_url":"https://api.github.com/users/callerc1/followers","following_url":"https://api.github.com/users/callerc1/following{/other_user}","gists_url":"https://api.github.com/users/callerc1/gists{/gist_id}","starred_url":"https://api.github.com/users/callerc1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callerc1/subscriptions","organizations_url":"https://api.github.com/users/callerc1/orgs","repos_url":"https://api.github.com/users/callerc1/repos","events_url":"https://api.github.com/users/callerc1/events{/privacy}","received_events_url":"https://api.github.com/users/callerc1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-13T12:32:08Z","updated_at":"2015-07-13T14:11:33Z","closed_at":null,"body":"This is because sourcetree doesn't know what the `git-hooks` command/executable is. Sourcetree seems to be building its own PATH."},"comment":{"url":"https://api.github.com/repos/git-hooks/git-hooks/issues/comments/120940878","html_url":"https://github.com/git-hooks/git-hooks/issues/13#issuecomment-120940878","issue_url":"https://api.github.com/repos/git-hooks/git-hooks/issues/13","id":120940878,"user":{"login":"callerc1","id":1370654,"avatar_url":"https://avatars.githubusercontent.com/u/1370654?v=3","gravatar_id":"","url":"https://api.github.com/users/callerc1","html_url":"https://github.com/callerc1","followers_url":"https://api.github.com/users/callerc1/followers","following_url":"https://api.github.com/users/callerc1/following{/other_user}","gists_url":"https://api.github.com/users/callerc1/gists{/gist_id}","starred_url":"https://api.github.com/users/callerc1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callerc1/subscriptions","organizations_url":"https://api.github.com/users/callerc1/orgs","repos_url":"https://api.github.com/users/callerc1/repos","events_url":"https://api.github.com/users/callerc1/events{/privacy}","received_events_url":"https://api.github.com/users/callerc1/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T14:11:33Z","updated_at":"2015-07-13T14:11:33Z","body":"... Also, perhaps a check to see if the executable exists in current location? if its been moved a message to say `Try running 'git-hooks install' again` or even a new `git-hooks update-exe` method which updates the path inside the templates. Perhaps the \"command not found\" message will be enough tho to make this obvious.\r\n\r\n"}}