{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5","id":78704785,"html_url":"https://github.com/shurcooL/vcsstate/pull/5","diff_url":"https://github.com/shurcooL/vcsstate/pull/5.diff","patch_url":"https://github.com/shurcooL/vcsstate/pull/5.patch","issue_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/5","number":5,"state":"closed","locked":false,"title":"Rewrite RemoteURL without git remote get-url.","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"body":"`git remote get-url` is only available in git 2.7, which is fairly recent. It's\r\npossible to rewrite the same functionality using `git remote -v`, which\r\nis available as far back as git 1.7 (and probably older):\r\n\r\n-\thttps://git-scm.com/docs/git-remote/2.7.0\r\n-\thttps://git-scm.com/docs/git-remote/1.7.12.2\r\n\r\nUpdates #4.\r\nFixes #3.","created_at":"2016-07-25T15:46:40Z","updated_at":"2016-07-25T16:02:11Z","closed_at":"2016-07-25T16:02:11Z","merged_at":"2016-07-25T16:02:11Z","merge_commit_sha":"3e39ee714625cd3b934a9c516227183c0b723d86","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5/commits","review_comments_url":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5/comments","review_comment_url":"https://api.github.com/repos/shurcooL/vcsstate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/5/comments","statuses_url":"https://api.github.com/repos/shurcooL/vcsstate/statuses/3e39ee714625cd3b934a9c516227183c0b723d86","head":{"label":"shurcooL:avoid-remote-get-url","ref":"avoid-remote-get-url","sha":"3e39ee714625cd3b934a9c516227183c0b723d86","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"repo":{"id":48630802,"name":"vcsstate","full_name":"shurcooL/vcsstate","owner":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shurcooL/vcsstate","description":"Package vcsstate allows getting the state of version control system repositories.","fork":false,"url":"https://api.github.com/repos/shurcooL/vcsstate","forks_url":"https://api.github.com/repos/shurcooL/vcsstate/forks","keys_url":"https://api.github.com/repos/shurcooL/vcsstate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shurcooL/vcsstate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shurcooL/vcsstate/teams","hooks_url":"https://api.github.com/repos/shurcooL/vcsstate/hooks","issue_events_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/events{/number}","events_url":"https://api.github.com/repos/shurcooL/vcsstate/events","assignees_url":"https://api.github.com/repos/shurcooL/vcsstate/assignees{/user}","branches_url":"https://api.github.com/repos/shurcooL/vcsstate/branches{/branch}","tags_url":"https://api.github.com/repos/shurcooL/vcsstate/tags","blobs_url":"https://api.github.com/repos/shurcooL/vcsstate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shurcooL/vcsstate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shurcooL/vcsstate/git/refs{/sha}","trees_url":"https://api.github.com/repos/shurcooL/vcsstate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shurcooL/vcsstate/statuses/{sha}","languages_url":"https://api.github.com/repos/shurcooL/vcsstate/languages","stargazers_url":"https://api.github.com/repos/shurcooL/vcsstate/stargazers","contributors_url":"https://api.github.com/repos/shurcooL/vcsstate/contributors","subscribers_url":"https://api.github.com/repos/shurcooL/vcsstate/subscribers","subscription_url":"https://api.github.com/repos/shurcooL/vcsstate/subscription","commits_url":"https://api.github.com/repos/shurcooL/vcsstate/commits{/sha}","git_commits_url":"https://api.github.com/repos/shurcooL/vcsstate/git/commits{/sha}","comments_url":"https://api.github.com/repos/shurcooL/vcsstate/comments{/number}","issue_comment_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/comments{/number}","contents_url":"https://api.github.com/repos/shurcooL/vcsstate/contents/{+path}","compare_url":"https://api.github.com/repos/shurcooL/vcsstate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shurcooL/vcsstate/merges","archive_url":"https://api.github.com/repos/shurcooL/vcsstate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shurcooL/vcsstate/downloads","issues_url":"https://api.github.com/repos/shurcooL/vcsstate/issues{/number}","pulls_url":"https://api.github.com/repos/shurcooL/vcsstate/pulls{/number}","milestones_url":"https://api.github.com/repos/shurcooL/vcsstate/milestones{/number}","notifications_url":"https://api.github.com/repos/shurcooL/vcsstate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shurcooL/vcsstate/labels{/name}","releases_url":"https://api.github.com/repos/shurcooL/vcsstate/releases{/id}","deployments_url":"https://api.github.com/repos/shurcooL/vcsstate/deployments","created_at":"2015-12-27T03:02:00Z","updated_at":"2016-05-09T14:11:39Z","pushed_at":"2016-07-25T16:02:11Z","git_url":"git://github.com/shurcooL/vcsstate.git","ssh_url":"git@github.com:shurcooL/vcsstate.git","clone_url":"https://github.com/shurcooL/vcsstate.git","svn_url":"https://github.com/shurcooL/vcsstate","homepage":null,"size":44,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"shurcooL:master","ref":"master","sha":"80ebbe9a32cc665d29da8acd66155331974fa7f8","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"repo":{"id":48630802,"name":"vcsstate","full_name":"shurcooL/vcsstate","owner":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shurcooL/vcsstate","description":"Package vcsstate allows getting the state of version control system repositories.","fork":false,"url":"https://api.github.com/repos/shurcooL/vcsstate","forks_url":"https://api.github.com/repos/shurcooL/vcsstate/forks","keys_url":"https://api.github.com/repos/shurcooL/vcsstate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shurcooL/vcsstate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shurcooL/vcsstate/teams","hooks_url":"https://api.github.com/repos/shurcooL/vcsstate/hooks","issue_events_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/events{/number}","events_url":"https://api.github.com/repos/shurcooL/vcsstate/events","assignees_url":"https://api.github.com/repos/shurcooL/vcsstate/assignees{/user}","branches_url":"https://api.github.com/repos/shurcooL/vcsstate/branches{/branch}","tags_url":"https://api.github.com/repos/shurcooL/vcsstate/tags","blobs_url":"https://api.github.com/repos/shurcooL/vcsstate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shurcooL/vcsstate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shurcooL/vcsstate/git/refs{/sha}","trees_url":"https://api.github.com/repos/shurcooL/vcsstate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shurcooL/vcsstate/statuses/{sha}","languages_url":"https://api.github.com/repos/shurcooL/vcsstate/languages","stargazers_url":"https://api.github.com/repos/shurcooL/vcsstate/stargazers","contributors_url":"https://api.github.com/repos/shurcooL/vcsstate/contributors","subscribers_url":"https://api.github.com/repos/shurcooL/vcsstate/subscribers","subscription_url":"https://api.github.com/repos/shurcooL/vcsstate/subscription","commits_url":"https://api.github.com/repos/shurcooL/vcsstate/commits{/sha}","git_commits_url":"https://api.github.com/repos/shurcooL/vcsstate/git/commits{/sha}","comments_url":"https://api.github.com/repos/shurcooL/vcsstate/comments{/number}","issue_comment_url":"https://api.github.com/repos/shurcooL/vcsstate/issues/comments{/number}","contents_url":"https://api.github.com/repos/shurcooL/vcsstate/contents/{+path}","compare_url":"https://api.github.com/repos/shurcooL/vcsstate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shurcooL/vcsstate/merges","archive_url":"https://api.github.com/repos/shurcooL/vcsstate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shurcooL/vcsstate/downloads","issues_url":"https://api.github.com/repos/shurcooL/vcsstate/issues{/number}","pulls_url":"https://api.github.com/repos/shurcooL/vcsstate/pulls{/number}","milestones_url":"https://api.github.com/repos/shurcooL/vcsstate/milestones{/number}","notifications_url":"https://api.github.com/repos/shurcooL/vcsstate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shurcooL/vcsstate/labels{/name}","releases_url":"https://api.github.com/repos/shurcooL/vcsstate/releases{/id}","deployments_url":"https://api.github.com/repos/shurcooL/vcsstate/deployments","created_at":"2015-12-27T03:02:00Z","updated_at":"2016-05-09T14:11:39Z","pushed_at":"2016-07-25T16:02:11Z","git_url":"git://github.com/shurcooL/vcsstate.git","ssh_url":"git@github.com:shurcooL/vcsstate.git","clone_url":"https://github.com/shurcooL/vcsstate.git","svn_url":"https://github.com/shurcooL/vcsstate","homepage":null,"size":44,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5"},"html":{"href":"https://github.com/shurcooL/vcsstate/pull/5"},"issue":{"href":"https://api.github.com/repos/shurcooL/vcsstate/issues/5"},"comments":{"href":"https://api.github.com/repos/shurcooL/vcsstate/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/shurcooL/vcsstate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shurcooL/vcsstate/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/shurcooL/vcsstate/statuses/3e39ee714625cd3b934a9c516227183c0b723d86"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":78,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"shurcooL"}}