{"action":"created","comment":{"url":"https://api.github.com/repos/neovim/neovim/pulls/comments/30749284","id":30749284,"diff_hunk":"@@ -168,9 +175,27 @@ char_u *vim_strsave_shellescape(const char_u *string,\n   d = escaped_string;\n \n   /* add opening quote */\n-  *d++ = '\\'';\n+#ifdef WIN32\n+  if (!p_ssl) {\n+    *d++ = '\"';\n+  } else\n+#endif\n+    *d++ = '\\'';\n \n   for (const char_u *p = string; *p != NUL; ) {\n+#ifdef WIN32\n+    if (!p_ssl)","path":"src/nvim/strings.c","position":28,"original_position":28,"commit_id":"c7b8fadeb94b7abd9936d7c7eaa75a618e35bf98","original_commit_id":"c7b8fadeb94b7abd9936d7c7eaa75a618e35bf98","user":{"login":"Pyrohh","id":4174345,"avatar_url":"https://avatars.githubusercontent.com/u/4174345?v=3","gravatar_id":"","url":"https://api.github.com/users/Pyrohh","html_url":"https://github.com/Pyrohh","followers_url":"https://api.github.com/users/Pyrohh/followers","following_url":"https://api.github.com/users/Pyrohh/following{/other_user}","gists_url":"https://api.github.com/users/Pyrohh/gists{/gist_id}","starred_url":"https://api.github.com/users/Pyrohh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pyrohh/subscriptions","organizations_url":"https://api.github.com/users/Pyrohh/orgs","repos_url":"https://api.github.com/users/Pyrohh/repos","events_url":"https://api.github.com/users/Pyrohh/events{/privacy}","received_events_url":"https://api.github.com/users/Pyrohh/received_events","type":"User","site_admin":false},"body":"bracket style (same below).","created_at":"2015-05-20T21:05:12Z","updated_at":"2015-05-20T21:05:12Z","html_url":"https://github.com/neovim/neovim/pull/810#discussion_r30749284","pull_request_url":"https://api.github.com/repos/neovim/neovim/pulls/810","_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments/30749284"},"html":{"href":"https://github.com/neovim/neovim/pull/810#discussion_r30749284"},"pull_request":{"href":"https://api.github.com/repos/neovim/neovim/pulls/810"}}},"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/810","id":16734314,"html_url":"https://github.com/neovim/neovim/pull/810","diff_url":"https://github.com/neovim/neovim/pull/810.diff","patch_url":"https://github.com/neovim/neovim/pull/810.patch","issue_url":"https://api.github.com/repos/neovim/neovim/issues/810","number":810,"state":"open","locked":false,"title":"[WIP] Compiling under Windows","user":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"body":"Appveyor generates automated MSVC builds - [![Build status](https://ci.appveyor.com/api/projects/status/ki4bc2v81axm36ow/branch/tb-mingw?svg=true)](https://ci.appveyor.com/project/equalsraf/neovim/branch/tb-mingw) there is a tab \"Artifacts\" for each build.\r\n\r\n**Build instructions**\r\n- [MinGW-w64](https://gist.github.com/equalsraf/0089af9b3f23df39332f)\r\n- [MSVC 2013](https://gist.github.com/equalsraf/4685f7aef022a36c26d5)\r\n- Crosscompiling from [Linux to Mingw](https://gist.github.com/equalsraf/c52c2261ff3671ccbd32)\r\n\r\n**Things you can do to help**\r\n\r\n- Help review the changes, just pick a commit and drop some comments\r\n- Help break this into smaller PRs, have a look at the commit log and pick up the smaller changes and platform independent ones, or just ask\r\n- See this [comment](https://github.com/neovim/neovim/pull/810#issuecomment-102717763) for TODO items\r\n- #1749 has a TODO list at the top\r\n- Grab a build, take it for a spin (the terminal is broken, get one of the GUIs)","created_at":"2014-06-04T21:05:16Z","updated_at":"2015-05-20T21:05:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a95c8fab3f4e646fbb49e2ae1d49d461b792a05","assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/5","html_url":"https://github.com/neovim/neovim/milestones/first%20release","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/5/labels","id":652241,"number":5,"title":"first release","description":null,"creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":42,"state":"open","created_at":"2014-05-07T21:37:18Z","updated_at":"2015-05-20T14:20:09Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/neovim/neovim/pulls/810/commits","review_comments_url":"https://api.github.com/repos/neovim/neovim/pulls/810/comments","review_comment_url":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/810/comments","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/c7b8fadeb94b7abd9936d7c7eaa75a618e35bf98","head":{"label":"equalsraf:tb-mingw","ref":"tb-mingw","sha":"c7b8fadeb94b7abd9936d7c7eaa75a618e35bf98","user":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"repo":{"id":17216430,"name":"neovim","full_name":"equalsraf/neovim","owner":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/equalsraf/neovim","description":"vim's rebirth for the 21st century","fork":true,"url":"https://api.github.com/repos/equalsraf/neovim","forks_url":"https://api.github.com/repos/equalsraf/neovim/forks","keys_url":"https://api.github.com/repos/equalsraf/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equalsraf/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equalsraf/neovim/teams","hooks_url":"https://api.github.com/repos/equalsraf/neovim/hooks","issue_events_url":"https://api.github.com/repos/equalsraf/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/equalsraf/neovim/events","assignees_url":"https://api.github.com/repos/equalsraf/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/equalsraf/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/equalsraf/neovim/tags","blobs_url":"https://api.github.com/repos/equalsraf/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equalsraf/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equalsraf/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/equalsraf/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equalsraf/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/equalsraf/neovim/languages","stargazers_url":"https://api.github.com/repos/equalsraf/neovim/stargazers","contributors_url":"https://api.github.com/repos/equalsraf/neovim/contributors","subscribers_url":"https://api.github.com/repos/equalsraf/neovim/subscribers","subscription_url":"https://api.github.com/repos/equalsraf/neovim/subscription","commits_url":"https://api.github.com/repos/equalsraf/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/equalsraf/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/equalsraf/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/equalsraf/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/equalsraf/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/equalsraf/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equalsraf/neovim/merges","archive_url":"https://api.github.com/repos/equalsraf/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equalsraf/neovim/downloads","issues_url":"https://api.github.com/repos/equalsraf/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/equalsraf/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/equalsraf/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/equalsraf/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equalsraf/neovim/labels{/name}","releases_url":"https://api.github.com/repos/equalsraf/neovim/releases{/id}","created_at":"2014-02-26T16:10:08Z","updated_at":"2015-05-13T09:38:28Z","pushed_at":"2015-05-20T20:42:03Z","git_url":"git://github.com/equalsraf/neovim.git","ssh_url":"git@github.com:equalsraf/neovim.git","clone_url":"https://github.com/equalsraf/neovim.git","svn_url":"https://github.com/equalsraf/neovim","homepage":"http://neovim.org/","size":32633,"stargazers_count":1,"watchers_count":1,"language":"VimL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"neovim:master","ref":"master","sha":"04a3d5ecc7c9f626b28f60fdd76f08e0e9c867d3","user":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"repo":{"id":16408992,"name":"neovim","full_name":"neovim/neovim","owner":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neovim/neovim","description":"ambitious Vim-fork focused on extensibility and agility. Please consider helping sustain Neovim development! https://salt.bountysource.com/teams/neovim","fork":false,"url":"https://api.github.com/repos/neovim/neovim","forks_url":"https://api.github.com/repos/neovim/neovim/forks","keys_url":"https://api.github.com/repos/neovim/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neovim/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neovim/neovim/teams","hooks_url":"https://api.github.com/repos/neovim/neovim/hooks","issue_events_url":"https://api.github.com/repos/neovim/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/neovim/neovim/events","assignees_url":"https://api.github.com/repos/neovim/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/neovim/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/neovim/neovim/tags","blobs_url":"https://api.github.com/repos/neovim/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neovim/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neovim/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/neovim/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/neovim/neovim/languages","stargazers_url":"https://api.github.com/repos/neovim/neovim/stargazers","contributors_url":"https://api.github.com/repos/neovim/neovim/contributors","subscribers_url":"https://api.github.com/repos/neovim/neovim/subscribers","subscription_url":"https://api.github.com/repos/neovim/neovim/subscription","commits_url":"https://api.github.com/repos/neovim/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/neovim/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/neovim/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/neovim/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/neovim/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/neovim/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neovim/neovim/merges","archive_url":"https://api.github.com/repos/neovim/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neovim/neovim/downloads","issues_url":"https://api.github.com/repos/neovim/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/neovim/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/neovim/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/neovim/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neovim/neovim/labels{/name}","releases_url":"https://api.github.com/repos/neovim/neovim/releases{/id}","created_at":"2014-01-31T13:39:22Z","updated_at":"2015-05-20T20:56:11Z","pushed_at":"2015-05-20T20:46:47Z","git_url":"git://github.com/neovim/neovim.git","ssh_url":"git@github.com:neovim/neovim.git","clone_url":"https://github.com/neovim/neovim.git","svn_url":"https://github.com/neovim/neovim","homepage":"http://neovim.io","size":78628,"stargazers_count":13391,"watchers_count":13391,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":912,"mirror_url":null,"open_issues_count":490,"forks":912,"open_issues":490,"watchers":13391,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/810"},"html":{"href":"https://github.com/neovim/neovim/pull/810"},"issue":{"href":"https://api.github.com/repos/neovim/neovim/issues/810"},"comments":{"href":"https://api.github.com/repos/neovim/neovim/issues/810/comments"},"review_comments":{"href":"https://api.github.com/repos/neovim/neovim/pulls/810/comments"},"review_comment":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neovim/neovim/pulls/810/commits"},"statuses":{"href":"https://api.github.com/repos/neovim/neovim/statuses/c7b8fadeb94b7abd9936d7c7eaa75a618e35bf98"}}}}