{"action":"created","issue":{"url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/2","repository_url":"https://api.github.com/repos/kilianc/shared-git-hooks","labels_url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/2/comments","events_url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/2/events","html_url":"https://github.com/kilianc/shared-git-hooks/issues/2","id":141237178,"number":2,"title":"error on line 6, command not found","user":{"login":"joh-klein","id":3099832,"avatar_url":"https://avatars.githubusercontent.com/u/3099832?v=3","gravatar_id":"","url":"https://api.github.com/users/joh-klein","html_url":"https://github.com/joh-klein","followers_url":"https://api.github.com/users/joh-klein/followers","following_url":"https://api.github.com/users/joh-klein/following{/other_user}","gists_url":"https://api.github.com/users/joh-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/joh-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joh-klein/subscriptions","organizations_url":"https://api.github.com/users/joh-klein/orgs","repos_url":"https://api.github.com/users/joh-klein/repos","events_url":"https://api.github.com/users/joh-klein/events{/privacy}","received_events_url":"https://api.github.com/users/joh-klein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T10:56:13Z","updated_at":"2016-03-17T11:06:33Z","closed_at":null,"body":"This happens whenever I do anything which could invoke a git hook under windows\r\n```\r\n.git/hooks/post-checkout: line 6: C:Program: command not found\r\n.git/hooks/post-checkout: line 6: C:Windowssystem32: command not found\r\n```\r\n\r\nThe fix is to wrap PATH in parentheses. \r\n\r\nhttps://github.com/kilianc/shared-git-hooks/blob/develop/index.js#L26\r\n\r\nI'll try to get you a PR"},"comment":{"url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/comments/197824149","html_url":"https://github.com/kilianc/shared-git-hooks/issues/2#issuecomment-197824149","issue_url":"https://api.github.com/repos/kilianc/shared-git-hooks/issues/2","id":197824149,"user":{"login":"joh-klein","id":3099832,"avatar_url":"https://avatars.githubusercontent.com/u/3099832?v=3","gravatar_id":"","url":"https://api.github.com/users/joh-klein","html_url":"https://github.com/joh-klein","followers_url":"https://api.github.com/users/joh-klein/followers","following_url":"https://api.github.com/users/joh-klein/following{/other_user}","gists_url":"https://api.github.com/users/joh-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/joh-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joh-klein/subscriptions","organizations_url":"https://api.github.com/users/joh-klein/orgs","repos_url":"https://api.github.com/users/joh-klein/repos","events_url":"https://api.github.com/users/joh-klein/events{/privacy}","received_events_url":"https://api.github.com/users/joh-klein/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T11:06:33Z","updated_at":"2016-03-17T11:06:33Z","body":"Quick question: why do you have the PATH variable at all?\r\nhttps://github.com/kilianc/shared-git-hooks/blob/develop/hook.sh.tpl#L6"}}