{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/kzu/SemanticGit/pulls/2","id":30216798,"html_url":"https://github.com/kzu/SemanticGit/pull/2","diff_url":"https://github.com/kzu/SemanticGit/pull/2.diff","patch_url":"https://github.com/kzu/SemanticGit/pull/2.patch","issue_url":"https://api.github.com/repos/kzu/SemanticGit/issues/2","number":2,"state":"open","locked":false,"title":"Convert to Windows path if using cygwin git","user":{"login":"chkn","id":289291,"avatar_url":"https://avatars.githubusercontent.com/u/289291?v=3","gravatar_id":"","url":"https://api.github.com/users/chkn","html_url":"https://github.com/chkn","followers_url":"https://api.github.com/users/chkn/followers","following_url":"https://api.github.com/users/chkn/following{/other_user}","gists_url":"https://api.github.com/users/chkn/gists{/gist_id}","starred_url":"https://api.github.com/users/chkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chkn/subscriptions","organizations_url":"https://api.github.com/users/chkn/orgs","repos_url":"https://api.github.com/users/chkn/repos","events_url":"https://api.github.com/users/chkn/events{/privacy}","received_events_url":"https://api.github.com/users/chkn/received_events","type":"User","site_admin":false},"body":"The git root path is obtained by `git rev-parse --show-toplevel`\r\nOn my cygwin setup, the returned path is something like \"/home/Alex/repo\"\r\nand when Path.GetFullPath is called, this becomes \"C:\\home\\Alex\\repo\"\r\nHowever, the real path is \"C:\\cygwin\\home\\Alex\\repo\"\r\n\r\nThis patch calls cygpath if it exists to get the correct path.\r\nIf the path is already a Windows path, then cygpath will return it\r\nunchanged.","created_at":"2015-02-28T02:41:30Z","updated_at":"2015-02-28T02:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kzu/SemanticGit/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kzu/SemanticGit/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kzu/SemanticGit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kzu/SemanticGit/issues/2/comments","statuses_url":"https://api.github.com/repos/kzu/SemanticGit/statuses/fe98f963ff1d3e6f16d8a04562c9fe6c17256c9a","head":{"label":"chkn:fix-cygwin-git","ref":"fix-cygwin-git","sha":"fe98f963ff1d3e6f16d8a04562c9fe6c17256c9a","user":{"login":"chkn","id":289291,"avatar_url":"https://avatars.githubusercontent.com/u/289291?v=3","gravatar_id":"","url":"https://api.github.com/users/chkn","html_url":"https://github.com/chkn","followers_url":"https://api.github.com/users/chkn/followers","following_url":"https://api.github.com/users/chkn/following{/other_user}","gists_url":"https://api.github.com/users/chkn/gists{/gist_id}","starred_url":"https://api.github.com/users/chkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chkn/subscriptions","organizations_url":"https://api.github.com/users/chkn/orgs","repos_url":"https://api.github.com/users/chkn/repos","events_url":"https://api.github.com/users/chkn/events{/privacy}","received_events_url":"https://api.github.com/users/chkn/received_events","type":"User","site_admin":false},"repo":{"id":31448189,"name":"SemanticGit","full_name":"chkn/SemanticGit","owner":{"login":"chkn","id":289291,"avatar_url":"https://avatars.githubusercontent.com/u/289291?v=3","gravatar_id":"","url":"https://api.github.com/users/chkn","html_url":"https://github.com/chkn","followers_url":"https://api.github.com/users/chkn/followers","following_url":"https://api.github.com/users/chkn/following{/other_user}","gists_url":"https://api.github.com/users/chkn/gists{/gist_id}","starred_url":"https://api.github.com/users/chkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chkn/subscriptions","organizations_url":"https://api.github.com/users/chkn/orgs","repos_url":"https://api.github.com/users/chkn/repos","events_url":"https://api.github.com/users/chkn/events{/privacy}","received_events_url":"https://api.github.com/users/chkn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chkn/SemanticGit","description":"Automatic versioning based on SemVer-formated Git tags.","fork":true,"url":"https://api.github.com/repos/chkn/SemanticGit","forks_url":"https://api.github.com/repos/chkn/SemanticGit/forks","keys_url":"https://api.github.com/repos/chkn/SemanticGit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chkn/SemanticGit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chkn/SemanticGit/teams","hooks_url":"https://api.github.com/repos/chkn/SemanticGit/hooks","issue_events_url":"https://api.github.com/repos/chkn/SemanticGit/issues/events{/number}","events_url":"https://api.github.com/repos/chkn/SemanticGit/events","assignees_url":"https://api.github.com/repos/chkn/SemanticGit/assignees{/user}","branches_url":"https://api.github.com/repos/chkn/SemanticGit/branches{/branch}","tags_url":"https://api.github.com/repos/chkn/SemanticGit/tags","blobs_url":"https://api.github.com/repos/chkn/SemanticGit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chkn/SemanticGit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chkn/SemanticGit/git/refs{/sha}","trees_url":"https://api.github.com/repos/chkn/SemanticGit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chkn/SemanticGit/statuses/{sha}","languages_url":"https://api.github.com/repos/chkn/SemanticGit/languages","stargazers_url":"https://api.github.com/repos/chkn/SemanticGit/stargazers","contributors_url":"https://api.github.com/repos/chkn/SemanticGit/contributors","subscribers_url":"https://api.github.com/repos/chkn/SemanticGit/subscribers","subscription_url":"https://api.github.com/repos/chkn/SemanticGit/subscription","commits_url":"https://api.github.com/repos/chkn/SemanticGit/commits{/sha}","git_commits_url":"https://api.github.com/repos/chkn/SemanticGit/git/commits{/sha}","comments_url":"https://api.github.com/repos/chkn/SemanticGit/comments{/number}","issue_comment_url":"https://api.github.com/repos/chkn/SemanticGit/issues/comments{/number}","contents_url":"https://api.github.com/repos/chkn/SemanticGit/contents/{+path}","compare_url":"https://api.github.com/repos/chkn/SemanticGit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chkn/SemanticGit/merges","archive_url":"https://api.github.com/repos/chkn/SemanticGit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chkn/SemanticGit/downloads","issues_url":"https://api.github.com/repos/chkn/SemanticGit/issues{/number}","pulls_url":"https://api.github.com/repos/chkn/SemanticGit/pulls{/number}","milestones_url":"https://api.github.com/repos/chkn/SemanticGit/milestones{/number}","notifications_url":"https://api.github.com/repos/chkn/SemanticGit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chkn/SemanticGit/labels{/name}","releases_url":"https://api.github.com/repos/chkn/SemanticGit/releases{/id}","created_at":"2015-02-28T02:30:59Z","updated_at":"2015-02-28T02:31:00Z","pushed_at":"2015-02-28T02:39:18Z","git_url":"git://github.com/chkn/SemanticGit.git","ssh_url":"git@github.com:chkn/SemanticGit.git","clone_url":"https://github.com/chkn/SemanticGit.git","svn_url":"https://github.com/chkn/SemanticGit","homepage":"","size":544,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"kzu:master","ref":"master","sha":"8b350071813fc132125e08e92d856137cd9a31db","user":{"login":"kzu","id":169707,"avatar_url":"https://avatars.githubusercontent.com/u/169707?v=3","gravatar_id":"","url":"https://api.github.com/users/kzu","html_url":"https://github.com/kzu","followers_url":"https://api.github.com/users/kzu/followers","following_url":"https://api.github.com/users/kzu/following{/other_user}","gists_url":"https://api.github.com/users/kzu/gists{/gist_id}","starred_url":"https://api.github.com/users/kzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzu/subscriptions","organizations_url":"https://api.github.com/users/kzu/orgs","repos_url":"https://api.github.com/users/kzu/repos","events_url":"https://api.github.com/users/kzu/events{/privacy}","received_events_url":"https://api.github.com/users/kzu/received_events","type":"User","site_admin":false},"repo":{"id":20971368,"name":"SemanticGit","full_name":"kzu/SemanticGit","owner":{"login":"kzu","id":169707,"avatar_url":"https://avatars.githubusercontent.com/u/169707?v=3","gravatar_id":"","url":"https://api.github.com/users/kzu","html_url":"https://github.com/kzu","followers_url":"https://api.github.com/users/kzu/followers","following_url":"https://api.github.com/users/kzu/following{/other_user}","gists_url":"https://api.github.com/users/kzu/gists{/gist_id}","starred_url":"https://api.github.com/users/kzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzu/subscriptions","organizations_url":"https://api.github.com/users/kzu/orgs","repos_url":"https://api.github.com/users/kzu/repos","events_url":"https://api.github.com/users/kzu/events{/privacy}","received_events_url":"https://api.github.com/users/kzu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kzu/SemanticGit","description":"Automatic versioning based on SemVer-formated Git tags.","fork":false,"url":"https://api.github.com/repos/kzu/SemanticGit","forks_url":"https://api.github.com/repos/kzu/SemanticGit/forks","keys_url":"https://api.github.com/repos/kzu/SemanticGit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kzu/SemanticGit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kzu/SemanticGit/teams","hooks_url":"https://api.github.com/repos/kzu/SemanticGit/hooks","issue_events_url":"https://api.github.com/repos/kzu/SemanticGit/issues/events{/number}","events_url":"https://api.github.com/repos/kzu/SemanticGit/events","assignees_url":"https://api.github.com/repos/kzu/SemanticGit/assignees{/user}","branches_url":"https://api.github.com/repos/kzu/SemanticGit/branches{/branch}","tags_url":"https://api.github.com/repos/kzu/SemanticGit/tags","blobs_url":"https://api.github.com/repos/kzu/SemanticGit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kzu/SemanticGit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kzu/SemanticGit/git/refs{/sha}","trees_url":"https://api.github.com/repos/kzu/SemanticGit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kzu/SemanticGit/statuses/{sha}","languages_url":"https://api.github.com/repos/kzu/SemanticGit/languages","stargazers_url":"https://api.github.com/repos/kzu/SemanticGit/stargazers","contributors_url":"https://api.github.com/repos/kzu/SemanticGit/contributors","subscribers_url":"https://api.github.com/repos/kzu/SemanticGit/subscribers","subscription_url":"https://api.github.com/repos/kzu/SemanticGit/subscription","commits_url":"https://api.github.com/repos/kzu/SemanticGit/commits{/sha}","git_commits_url":"https://api.github.com/repos/kzu/SemanticGit/git/commits{/sha}","comments_url":"https://api.github.com/repos/kzu/SemanticGit/comments{/number}","issue_comment_url":"https://api.github.com/repos/kzu/SemanticGit/issues/comments{/number}","contents_url":"https://api.github.com/repos/kzu/SemanticGit/contents/{+path}","compare_url":"https://api.github.com/repos/kzu/SemanticGit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kzu/SemanticGit/merges","archive_url":"https://api.github.com/repos/kzu/SemanticGit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kzu/SemanticGit/downloads","issues_url":"https://api.github.com/repos/kzu/SemanticGit/issues{/number}","pulls_url":"https://api.github.com/repos/kzu/SemanticGit/pulls{/number}","milestones_url":"https://api.github.com/repos/kzu/SemanticGit/milestones{/number}","notifications_url":"https://api.github.com/repos/kzu/SemanticGit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kzu/SemanticGit/labels{/name}","releases_url":"https://api.github.com/repos/kzu/SemanticGit/releases{/id}","created_at":"2014-06-18T17:30:04Z","updated_at":"2015-02-20T05:45:01Z","pushed_at":"2015-02-20T05:45:00Z","git_url":"git://github.com/kzu/SemanticGit.git","ssh_url":"git@github.com:kzu/SemanticGit.git","clone_url":"https://github.com/kzu/SemanticGit.git","svn_url":"https://github.com/kzu/SemanticGit","homepage":"","size":544,"stargazers_count":2,"watchers_count":2,"language":"XML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kzu/SemanticGit/pulls/2"},"html":{"href":"https://github.com/kzu/SemanticGit/pull/2"},"issue":{"href":"https://api.github.com/repos/kzu/SemanticGit/issues/2"},"comments":{"href":"https://api.github.com/repos/kzu/SemanticGit/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kzu/SemanticGit/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kzu/SemanticGit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kzu/SemanticGit/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kzu/SemanticGit/statuses/fe98f963ff1d3e6f16d8a04562c9fe6c17256c9a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":0,"changed_files":2}}