{"action":"created","comment":{"url":"https://api.github.com/repos/homburg/git-get/pulls/comments/86023253","pull_request_review_id":6703449,"id":86023253,"diff_hunk":"@@ -42,3 +41,61 @@ func TestDirIsEmpty(t *testing.T) {\n \t\tt.Fatalf(`Expected %s not to be empty, was.`, parent)\n \t}\n }\n+\n+func TestRepoHasScheme(t *testing.T) {\n+\ttestData := map[string]bool{\n+\t\t\"git@github.com:some/thing.git\":              false,\n+\t\t\"http://what.dk/ever.git\":                    true,\n+\t\t\"https://github.com/something/different.git\": true,\n+\t}\n+\n+\tfor addr, expected := range testData {\n+\t\tif hasScheme(addr) != expected {\n+\t\t\tt.Fatalf(`Expected scheme presence: %q for \"%s\", got %q.`, expected, addr, !expected)","path":"main_test.go","position":null,"original_position":35,"commit_id":"6cd65770dab51b786026c2d61a7284110cf325cd","original_commit_id":"93fe1fc1a6a86cde39057ec90e01b49d8ffec6b1","user":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"body":"Absolutely, thanks :+1: ","created_at":"2016-11-01T20:58:32Z","updated_at":"2016-11-01T20:58:32Z","html_url":"https://github.com/homburg/git-get/pull/7#discussion_r86023253","pull_request_url":"https://api.github.com/repos/homburg/git-get/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/homburg/git-get/pulls/comments/86023253"},"html":{"href":"https://github.com/homburg/git-get/pull/7#discussion_r86023253"},"pull_request":{"href":"https://api.github.com/repos/homburg/git-get/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/homburg/git-get/pulls/7","id":91292930,"html_url":"https://github.com/homburg/git-get/pull/7","diff_url":"https://github.com/homburg/git-get/pull/7.diff","patch_url":"https://github.com/homburg/git-get/pull/7.patch","issue_url":"https://api.github.com/repos/homburg/git-get/issues/7","number":7,"state":"open","locked":false,"title":"Support addresses with scheme","user":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"body":"ie. https://github.com/some/thing.git\nfixes #6 \n\n@nathany Is this usable?\n","created_at":"2016-10-27T22:32:58Z","updated_at":"2016-11-01T20:58:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c834b55fc38151391f4f8aa31cea5f1c7005ea5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/homburg/git-get/pulls/7/commits","review_comments_url":"https://api.github.com/repos/homburg/git-get/pulls/7/comments","review_comment_url":"https://api.github.com/repos/homburg/git-get/pulls/comments{/number}","comments_url":"https://api.github.com/repos/homburg/git-get/issues/7/comments","statuses_url":"https://api.github.com/repos/homburg/git-get/statuses/6cd65770dab51b786026c2d61a7284110cf325cd","head":{"label":"homburg:feature-https","ref":"feature-https","sha":"6cd65770dab51b786026c2d61a7284110cf325cd","user":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"repo":{"id":25589679,"name":"git-get","full_name":"homburg/git-get","owner":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/homburg/git-get","description":"Git clone to default folders","fork":false,"url":"https://api.github.com/repos/homburg/git-get","forks_url":"https://api.github.com/repos/homburg/git-get/forks","keys_url":"https://api.github.com/repos/homburg/git-get/keys{/key_id}","collaborators_url":"https://api.github.com/repos/homburg/git-get/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/homburg/git-get/teams","hooks_url":"https://api.github.com/repos/homburg/git-get/hooks","issue_events_url":"https://api.github.com/repos/homburg/git-get/issues/events{/number}","events_url":"https://api.github.com/repos/homburg/git-get/events","assignees_url":"https://api.github.com/repos/homburg/git-get/assignees{/user}","branches_url":"https://api.github.com/repos/homburg/git-get/branches{/branch}","tags_url":"https://api.github.com/repos/homburg/git-get/tags","blobs_url":"https://api.github.com/repos/homburg/git-get/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/homburg/git-get/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/homburg/git-get/git/refs{/sha}","trees_url":"https://api.github.com/repos/homburg/git-get/git/trees{/sha}","statuses_url":"https://api.github.com/repos/homburg/git-get/statuses/{sha}","languages_url":"https://api.github.com/repos/homburg/git-get/languages","stargazers_url":"https://api.github.com/repos/homburg/git-get/stargazers","contributors_url":"https://api.github.com/repos/homburg/git-get/contributors","subscribers_url":"https://api.github.com/repos/homburg/git-get/subscribers","subscription_url":"https://api.github.com/repos/homburg/git-get/subscription","commits_url":"https://api.github.com/repos/homburg/git-get/commits{/sha}","git_commits_url":"https://api.github.com/repos/homburg/git-get/git/commits{/sha}","comments_url":"https://api.github.com/repos/homburg/git-get/comments{/number}","issue_comment_url":"https://api.github.com/repos/homburg/git-get/issues/comments{/number}","contents_url":"https://api.github.com/repos/homburg/git-get/contents/{+path}","compare_url":"https://api.github.com/repos/homburg/git-get/compare/{base}...{head}","merges_url":"https://api.github.com/repos/homburg/git-get/merges","archive_url":"https://api.github.com/repos/homburg/git-get/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/homburg/git-get/downloads","issues_url":"https://api.github.com/repos/homburg/git-get/issues{/number}","pulls_url":"https://api.github.com/repos/homburg/git-get/pulls{/number}","milestones_url":"https://api.github.com/repos/homburg/git-get/milestones{/number}","notifications_url":"https://api.github.com/repos/homburg/git-get/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/homburg/git-get/labels{/name}","releases_url":"https://api.github.com/repos/homburg/git-get/releases{/id}","deployments_url":"https://api.github.com/repos/homburg/git-get/deployments","created_at":"2014-10-22T15:40:43Z","updated_at":"2016-10-05T18:12:37Z","pushed_at":"2016-11-01T20:55:01Z","git_url":"git://github.com/homburg/git-get.git","ssh_url":"git@github.com:homburg/git-get.git","clone_url":"https://github.com/homburg/git-get.git","svn_url":"https://github.com/homburg/git-get","homepage":"","size":13,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"base":{"label":"homburg:master","ref":"master","sha":"621feeacd6fede4799c164685a87f1759030ef2b","user":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"repo":{"id":25589679,"name":"git-get","full_name":"homburg/git-get","owner":{"login":"homburg","id":235886,"avatar_url":"https://avatars.githubusercontent.com/u/235886?v=3","gravatar_id":"","url":"https://api.github.com/users/homburg","html_url":"https://github.com/homburg","followers_url":"https://api.github.com/users/homburg/followers","following_url":"https://api.github.com/users/homburg/following{/other_user}","gists_url":"https://api.github.com/users/homburg/gists{/gist_id}","starred_url":"https://api.github.com/users/homburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homburg/subscriptions","organizations_url":"https://api.github.com/users/homburg/orgs","repos_url":"https://api.github.com/users/homburg/repos","events_url":"https://api.github.com/users/homburg/events{/privacy}","received_events_url":"https://api.github.com/users/homburg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/homburg/git-get","description":"Git clone to default folders","fork":false,"url":"https://api.github.com/repos/homburg/git-get","forks_url":"https://api.github.com/repos/homburg/git-get/forks","keys_url":"https://api.github.com/repos/homburg/git-get/keys{/key_id}","collaborators_url":"https://api.github.com/repos/homburg/git-get/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/homburg/git-get/teams","hooks_url":"https://api.github.com/repos/homburg/git-get/hooks","issue_events_url":"https://api.github.com/repos/homburg/git-get/issues/events{/number}","events_url":"https://api.github.com/repos/homburg/git-get/events","assignees_url":"https://api.github.com/repos/homburg/git-get/assignees{/user}","branches_url":"https://api.github.com/repos/homburg/git-get/branches{/branch}","tags_url":"https://api.github.com/repos/homburg/git-get/tags","blobs_url":"https://api.github.com/repos/homburg/git-get/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/homburg/git-get/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/homburg/git-get/git/refs{/sha}","trees_url":"https://api.github.com/repos/homburg/git-get/git/trees{/sha}","statuses_url":"https://api.github.com/repos/homburg/git-get/statuses/{sha}","languages_url":"https://api.github.com/repos/homburg/git-get/languages","stargazers_url":"https://api.github.com/repos/homburg/git-get/stargazers","contributors_url":"https://api.github.com/repos/homburg/git-get/contributors","subscribers_url":"https://api.github.com/repos/homburg/git-get/subscribers","subscription_url":"https://api.github.com/repos/homburg/git-get/subscription","commits_url":"https://api.github.com/repos/homburg/git-get/commits{/sha}","git_commits_url":"https://api.github.com/repos/homburg/git-get/git/commits{/sha}","comments_url":"https://api.github.com/repos/homburg/git-get/comments{/number}","issue_comment_url":"https://api.github.com/repos/homburg/git-get/issues/comments{/number}","contents_url":"https://api.github.com/repos/homburg/git-get/contents/{+path}","compare_url":"https://api.github.com/repos/homburg/git-get/compare/{base}...{head}","merges_url":"https://api.github.com/repos/homburg/git-get/merges","archive_url":"https://api.github.com/repos/homburg/git-get/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/homburg/git-get/downloads","issues_url":"https://api.github.com/repos/homburg/git-get/issues{/number}","pulls_url":"https://api.github.com/repos/homburg/git-get/pulls{/number}","milestones_url":"https://api.github.com/repos/homburg/git-get/milestones{/number}","notifications_url":"https://api.github.com/repos/homburg/git-get/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/homburg/git-get/labels{/name}","releases_url":"https://api.github.com/repos/homburg/git-get/releases{/id}","deployments_url":"https://api.github.com/repos/homburg/git-get/deployments","created_at":"2014-10-22T15:40:43Z","updated_at":"2016-10-05T18:12:37Z","pushed_at":"2016-11-01T20:55:01Z","git_url":"git://github.com/homburg/git-get.git","ssh_url":"git@github.com:homburg/git-get.git","clone_url":"https://github.com/homburg/git-get.git","svn_url":"https://github.com/homburg/git-get","homepage":"","size":13,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/homburg/git-get/pulls/7"},"html":{"href":"https://github.com/homburg/git-get/pull/7"},"issue":{"href":"https://api.github.com/repos/homburg/git-get/issues/7"},"comments":{"href":"https://api.github.com/repos/homburg/git-get/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/homburg/git-get/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/homburg/git-get/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/homburg/git-get/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/homburg/git-get/statuses/6cd65770dab51b786026c2d61a7284110cf325cd"}}}}
{"actor":{"display_login":"homburg"}}