{"action":"created","comment":{"url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/comments/43648249","id":43648249,"diff_hunk":"@@ -40,7 +42,16 @@ if (argv.dest) {\n } else {\n   var topLevel = exec('git rev-parse --show-toplevel', { silent: true })\n     .output.slice(0, -1);\n-  dest = topLevel + '/.git/hooks/';\n+  if(test('-f', topLevel + '/.git')){","path":"bin/index.js","position":14,"original_position":14,"commit_id":"893cb7337978221582fe7080e4b8c1cad3af2cf9","original_commit_id":"893cb7337978221582fe7080e4b8c1cad3af2cf9","user":{"login":"therealklanni","id":626347,"avatar_url":"https://avatars.githubusercontent.com/u/626347?v=3","gravatar_id":"","url":"https://api.github.com/users/therealklanni","html_url":"https://github.com/therealklanni","followers_url":"https://api.github.com/users/therealklanni/followers","following_url":"https://api.github.com/users/therealklanni/following{/other_user}","gists_url":"https://api.github.com/users/therealklanni/gists{/gist_id}","starred_url":"https://api.github.com/users/therealklanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealklanni/subscriptions","organizations_url":"https://api.github.com/users/therealklanni/orgs","repos_url":"https://api.github.com/users/therealklanni/repos","events_url":"https://api.github.com/users/therealklanni/events{/privacy}","received_events_url":"https://api.github.com/users/therealklanni/received_events","type":"User","site_admin":false},"body":"Please use space around keywords (`if`) and before opening curlies.","created_at":"2015-11-02T16:34:21Z","updated_at":"2015-11-02T16:34:21Z","html_url":"https://github.com/therealklanni/guppy-cli/pull/2#discussion_r43648249","pull_request_url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/comments/43648249"},"html":{"href":"https://github.com/therealklanni/guppy-cli/pull/2#discussion_r43648249"},"pull_request":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2","id":48683346,"html_url":"https://github.com/therealklanni/guppy-cli/pull/2","diff_url":"https://github.com/therealklanni/guppy-cli/pull/2.diff","patch_url":"https://github.com/therealklanni/guppy-cli/pull/2.patch","issue_url":"https://api.github.com/repos/therealklanni/guppy-cli/issues/2","number":2,"state":"open","locked":false,"title":"Fixes issue with sub modules","user":{"login":"mikevalstar","id":1720,"avatar_url":"https://avatars.githubusercontent.com/u/1720?v=3","gravatar_id":"","url":"https://api.github.com/users/mikevalstar","html_url":"https://github.com/mikevalstar","followers_url":"https://api.github.com/users/mikevalstar/followers","following_url":"https://api.github.com/users/mikevalstar/following{/other_user}","gists_url":"https://api.github.com/users/mikevalstar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevalstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevalstar/subscriptions","organizations_url":"https://api.github.com/users/mikevalstar/orgs","repos_url":"https://api.github.com/users/mikevalstar/repos","events_url":"https://api.github.com/users/mikevalstar/events{/privacy}","received_events_url":"https://api.github.com/users/mikevalstar/received_events","type":"User","site_admin":false},"body":"fixes the following issue with sub modules\r\n\r\nhttps://github.com/therealklanni/git-guppy/issues/39","created_at":"2015-10-25T17:43:08Z","updated_at":"2015-11-02T16:34:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaa4a3854f228f846b2686e47f767fc786c40ae7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2/commits","review_comments_url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2/comments","review_comment_url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/therealklanni/guppy-cli/issues/2/comments","statuses_url":"https://api.github.com/repos/therealklanni/guppy-cli/statuses/893cb7337978221582fe7080e4b8c1cad3af2cf9","head":{"label":"mikevalstar:master","ref":"master","sha":"893cb7337978221582fe7080e4b8c1cad3af2cf9","user":{"login":"mikevalstar","id":1720,"avatar_url":"https://avatars.githubusercontent.com/u/1720?v=3","gravatar_id":"","url":"https://api.github.com/users/mikevalstar","html_url":"https://github.com/mikevalstar","followers_url":"https://api.github.com/users/mikevalstar/followers","following_url":"https://api.github.com/users/mikevalstar/following{/other_user}","gists_url":"https://api.github.com/users/mikevalstar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevalstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevalstar/subscriptions","organizations_url":"https://api.github.com/users/mikevalstar/orgs","repos_url":"https://api.github.com/users/mikevalstar/repos","events_url":"https://api.github.com/users/mikevalstar/events{/privacy}","received_events_url":"https://api.github.com/users/mikevalstar/received_events","type":"User","site_admin":false},"repo":{"id":44920383,"name":"guppy-cli","full_name":"mikevalstar/guppy-cli","owner":{"login":"mikevalstar","id":1720,"avatar_url":"https://avatars.githubusercontent.com/u/1720?v=3","gravatar_id":"","url":"https://api.github.com/users/mikevalstar","html_url":"https://github.com/mikevalstar","followers_url":"https://api.github.com/users/mikevalstar/followers","following_url":"https://api.github.com/users/mikevalstar/following{/other_user}","gists_url":"https://api.github.com/users/mikevalstar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevalstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevalstar/subscriptions","organizations_url":"https://api.github.com/users/mikevalstar/orgs","repos_url":"https://api.github.com/users/mikevalstar/repos","events_url":"https://api.github.com/users/mikevalstar/events{/privacy}","received_events_url":"https://api.github.com/users/mikevalstar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikevalstar/guppy-cli","description":"Commandline tool for git-guppy","fork":true,"url":"https://api.github.com/repos/mikevalstar/guppy-cli","forks_url":"https://api.github.com/repos/mikevalstar/guppy-cli/forks","keys_url":"https://api.github.com/repos/mikevalstar/guppy-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikevalstar/guppy-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikevalstar/guppy-cli/teams","hooks_url":"https://api.github.com/repos/mikevalstar/guppy-cli/hooks","issue_events_url":"https://api.github.com/repos/mikevalstar/guppy-cli/issues/events{/number}","events_url":"https://api.github.com/repos/mikevalstar/guppy-cli/events","assignees_url":"https://api.github.com/repos/mikevalstar/guppy-cli/assignees{/user}","branches_url":"https://api.github.com/repos/mikevalstar/guppy-cli/branches{/branch}","tags_url":"https://api.github.com/repos/mikevalstar/guppy-cli/tags","blobs_url":"https://api.github.com/repos/mikevalstar/guppy-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikevalstar/guppy-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikevalstar/guppy-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikevalstar/guppy-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikevalstar/guppy-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/mikevalstar/guppy-cli/languages","stargazers_url":"https://api.github.com/repos/mikevalstar/guppy-cli/stargazers","contributors_url":"https://api.github.com/repos/mikevalstar/guppy-cli/contributors","subscribers_url":"https://api.github.com/repos/mikevalstar/guppy-cli/subscribers","subscription_url":"https://api.github.com/repos/mikevalstar/guppy-cli/subscription","commits_url":"https://api.github.com/repos/mikevalstar/guppy-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikevalstar/guppy-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikevalstar/guppy-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikevalstar/guppy-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikevalstar/guppy-cli/contents/{+path}","compare_url":"https://api.github.com/repos/mikevalstar/guppy-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikevalstar/guppy-cli/merges","archive_url":"https://api.github.com/repos/mikevalstar/guppy-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikevalstar/guppy-cli/downloads","issues_url":"https://api.github.com/repos/mikevalstar/guppy-cli/issues{/number}","pulls_url":"https://api.github.com/repos/mikevalstar/guppy-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/mikevalstar/guppy-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/mikevalstar/guppy-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikevalstar/guppy-cli/labels{/name}","releases_url":"https://api.github.com/repos/mikevalstar/guppy-cli/releases{/id}","created_at":"2015-10-25T17:16:48Z","updated_at":"2015-10-25T17:16:49Z","pushed_at":"2015-10-28T22:40:01Z","git_url":"git://github.com/mikevalstar/guppy-cli.git","ssh_url":"git@github.com:mikevalstar/guppy-cli.git","clone_url":"https://github.com/mikevalstar/guppy-cli.git","svn_url":"https://github.com/mikevalstar/guppy-cli","homepage":"https://github.com/therealklanni/git-guppy","size":128,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"therealklanni:master","ref":"master","sha":"ed8c3e87c898bd46a0a636d608ff78dc0b1f229e","user":{"login":"therealklanni","id":626347,"avatar_url":"https://avatars.githubusercontent.com/u/626347?v=3","gravatar_id":"","url":"https://api.github.com/users/therealklanni","html_url":"https://github.com/therealklanni","followers_url":"https://api.github.com/users/therealklanni/followers","following_url":"https://api.github.com/users/therealklanni/following{/other_user}","gists_url":"https://api.github.com/users/therealklanni/gists{/gist_id}","starred_url":"https://api.github.com/users/therealklanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealklanni/subscriptions","organizations_url":"https://api.github.com/users/therealklanni/orgs","repos_url":"https://api.github.com/users/therealklanni/repos","events_url":"https://api.github.com/users/therealklanni/events{/privacy}","received_events_url":"https://api.github.com/users/therealklanni/received_events","type":"User","site_admin":false},"repo":{"id":34484312,"name":"guppy-cli","full_name":"therealklanni/guppy-cli","owner":{"login":"therealklanni","id":626347,"avatar_url":"https://avatars.githubusercontent.com/u/626347?v=3","gravatar_id":"","url":"https://api.github.com/users/therealklanni","html_url":"https://github.com/therealklanni","followers_url":"https://api.github.com/users/therealklanni/followers","following_url":"https://api.github.com/users/therealklanni/following{/other_user}","gists_url":"https://api.github.com/users/therealklanni/gists{/gist_id}","starred_url":"https://api.github.com/users/therealklanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealklanni/subscriptions","organizations_url":"https://api.github.com/users/therealklanni/orgs","repos_url":"https://api.github.com/users/therealklanni/repos","events_url":"https://api.github.com/users/therealklanni/events{/privacy}","received_events_url":"https://api.github.com/users/therealklanni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/therealklanni/guppy-cli","description":"Commandline tool for git-guppy","fork":false,"url":"https://api.github.com/repos/therealklanni/guppy-cli","forks_url":"https://api.github.com/repos/therealklanni/guppy-cli/forks","keys_url":"https://api.github.com/repos/therealklanni/guppy-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/therealklanni/guppy-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/therealklanni/guppy-cli/teams","hooks_url":"https://api.github.com/repos/therealklanni/guppy-cli/hooks","issue_events_url":"https://api.github.com/repos/therealklanni/guppy-cli/issues/events{/number}","events_url":"https://api.github.com/repos/therealklanni/guppy-cli/events","assignees_url":"https://api.github.com/repos/therealklanni/guppy-cli/assignees{/user}","branches_url":"https://api.github.com/repos/therealklanni/guppy-cli/branches{/branch}","tags_url":"https://api.github.com/repos/therealklanni/guppy-cli/tags","blobs_url":"https://api.github.com/repos/therealklanni/guppy-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/therealklanni/guppy-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/therealklanni/guppy-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/therealklanni/guppy-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/therealklanni/guppy-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/therealklanni/guppy-cli/languages","stargazers_url":"https://api.github.com/repos/therealklanni/guppy-cli/stargazers","contributors_url":"https://api.github.com/repos/therealklanni/guppy-cli/contributors","subscribers_url":"https://api.github.com/repos/therealklanni/guppy-cli/subscribers","subscription_url":"https://api.github.com/repos/therealklanni/guppy-cli/subscription","commits_url":"https://api.github.com/repos/therealklanni/guppy-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/therealklanni/guppy-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/therealklanni/guppy-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/therealklanni/guppy-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/therealklanni/guppy-cli/contents/{+path}","compare_url":"https://api.github.com/repos/therealklanni/guppy-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/therealklanni/guppy-cli/merges","archive_url":"https://api.github.com/repos/therealklanni/guppy-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/therealklanni/guppy-cli/downloads","issues_url":"https://api.github.com/repos/therealklanni/guppy-cli/issues{/number}","pulls_url":"https://api.github.com/repos/therealklanni/guppy-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/therealklanni/guppy-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/therealklanni/guppy-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/therealklanni/guppy-cli/labels{/name}","releases_url":"https://api.github.com/repos/therealklanni/guppy-cli/releases{/id}","created_at":"2015-04-23T22:14:55Z","updated_at":"2015-04-25T08:09:59Z","pushed_at":"2015-10-28T22:40:01Z","git_url":"git://github.com/therealklanni/guppy-cli.git","ssh_url":"git@github.com:therealklanni/guppy-cli.git","clone_url":"https://github.com/therealklanni/guppy-cli.git","svn_url":"https://github.com/therealklanni/guppy-cli","homepage":"https://github.com/therealklanni/git-guppy","size":233,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2"},"html":{"href":"https://github.com/therealklanni/guppy-cli/pull/2"},"issue":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/issues/2"},"comments":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/therealklanni/guppy-cli/statuses/893cb7337978221582fe7080e4b8c1cad3af2cf9"}}}}