{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30","id":27558698,"html_url":"https://github.com/embear/vim-localvimrc/pull/30","diff_url":"https://github.com/embear/vim-localvimrc/pull/30.diff","patch_url":"https://github.com/embear/vim-localvimrc/pull/30.patch","issue_url":"https://api.github.com/repos/embear/vim-localvimrc/issues/30","number":30,"state":"closed","locked":false,"title":"Do not writefile + rename, which messes up perms with \"sudo vim\"","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"body":"After `sudo vim` the persistence file is owned by root.\r\n\r\nRef: https://github.com/embear/vim-localvimrc/issues/28","created_at":"2015-01-17T16:35:26Z","updated_at":"2015-01-19T15:38:43Z","closed_at":"2015-01-19T15:38:43Z","merged_at":null,"merge_commit_sha":"79228c598b419cd8694063b632862257334ca382","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30/commits","review_comments_url":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30/comments","review_comment_url":"https://api.github.com/repos/embear/vim-localvimrc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/embear/vim-localvimrc/issues/30/comments","statuses_url":"https://api.github.com/repos/embear/vim-localvimrc/statuses/30f2ccfd6e183978a361718fc90705630f0995cc","head":{"label":"blueyed:dont-write-and-rename","ref":"dont-write-and-rename","sha":"30f2ccfd6e183978a361718fc90705630f0995cc","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"repo":{"id":15210408,"name":"vim-localvimrc","full_name":"blueyed/vim-localvimrc","owner":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blueyed/vim-localvimrc","description":"Search local vimrc files (\".lvimrc\") in the tree (root dir up to current dir) and load them.","fork":true,"url":"https://api.github.com/repos/blueyed/vim-localvimrc","forks_url":"https://api.github.com/repos/blueyed/vim-localvimrc/forks","keys_url":"https://api.github.com/repos/blueyed/vim-localvimrc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueyed/vim-localvimrc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueyed/vim-localvimrc/teams","hooks_url":"https://api.github.com/repos/blueyed/vim-localvimrc/hooks","issue_events_url":"https://api.github.com/repos/blueyed/vim-localvimrc/issues/events{/number}","events_url":"https://api.github.com/repos/blueyed/vim-localvimrc/events","assignees_url":"https://api.github.com/repos/blueyed/vim-localvimrc/assignees{/user}","branches_url":"https://api.github.com/repos/blueyed/vim-localvimrc/branches{/branch}","tags_url":"https://api.github.com/repos/blueyed/vim-localvimrc/tags","blobs_url":"https://api.github.com/repos/blueyed/vim-localvimrc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueyed/vim-localvimrc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueyed/vim-localvimrc/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueyed/vim-localvimrc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueyed/vim-localvimrc/statuses/{sha}","languages_url":"https://api.github.com/repos/blueyed/vim-localvimrc/languages","stargazers_url":"https://api.github.com/repos/blueyed/vim-localvimrc/stargazers","contributors_url":"https://api.github.com/repos/blueyed/vim-localvimrc/contributors","subscribers_url":"https://api.github.com/repos/blueyed/vim-localvimrc/subscribers","subscription_url":"https://api.github.com/repos/blueyed/vim-localvimrc/subscription","commits_url":"https://api.github.com/repos/blueyed/vim-localvimrc/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueyed/vim-localvimrc/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueyed/vim-localvimrc/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueyed/vim-localvimrc/issues/comments/{number}","contents_url":"https://api.github.com/repos/blueyed/vim-localvimrc/contents/{+path}","compare_url":"https://api.github.com/repos/blueyed/vim-localvimrc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueyed/vim-localvimrc/merges","archive_url":"https://api.github.com/repos/blueyed/vim-localvimrc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueyed/vim-localvimrc/downloads","issues_url":"https://api.github.com/repos/blueyed/vim-localvimrc/issues{/number}","pulls_url":"https://api.github.com/repos/blueyed/vim-localvimrc/pulls{/number}","milestones_url":"https://api.github.com/repos/blueyed/vim-localvimrc/milestones{/number}","notifications_url":"https://api.github.com/repos/blueyed/vim-localvimrc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueyed/vim-localvimrc/labels{/name}","releases_url":"https://api.github.com/repos/blueyed/vim-localvimrc/releases{/id}","created_at":"2013-12-15T20:42:35Z","updated_at":"2014-02-05T19:54:53Z","pushed_at":"2015-01-17T16:42:55Z","git_url":"git://github.com/blueyed/vim-localvimrc.git","ssh_url":"git@github.com:blueyed/vim-localvimrc.git","clone_url":"https://github.com/blueyed/vim-localvimrc.git","svn_url":"https://github.com/blueyed/vim-localvimrc","homepage":"http://www.vim.org/scripts/script.php?script_id=441","size":188,"stargazers_count":0,"watchers_count":0,"language":"VimL","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":"embear:master","ref":"master","sha":"6ff87181766c0bab2b699393467bb206c880f241","user":{"login":"embear","id":836938,"avatar_url":"https://avatars.githubusercontent.com/u/836938?v=3","gravatar_id":"","url":"https://api.github.com/users/embear","html_url":"https://github.com/embear","followers_url":"https://api.github.com/users/embear/followers","following_url":"https://api.github.com/users/embear/following{/other_user}","gists_url":"https://api.github.com/users/embear/gists{/gist_id}","starred_url":"https://api.github.com/users/embear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embear/subscriptions","organizations_url":"https://api.github.com/users/embear/orgs","repos_url":"https://api.github.com/users/embear/repos","events_url":"https://api.github.com/users/embear/events{/privacy}","received_events_url":"https://api.github.com/users/embear/received_events","type":"User","site_admin":false},"repo":{"id":2004995,"name":"vim-localvimrc","full_name":"embear/vim-localvimrc","owner":{"login":"embear","id":836938,"avatar_url":"https://avatars.githubusercontent.com/u/836938?v=3","gravatar_id":"","url":"https://api.github.com/users/embear","html_url":"https://github.com/embear","followers_url":"https://api.github.com/users/embear/followers","following_url":"https://api.github.com/users/embear/following{/other_user}","gists_url":"https://api.github.com/users/embear/gists{/gist_id}","starred_url":"https://api.github.com/users/embear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embear/subscriptions","organizations_url":"https://api.github.com/users/embear/orgs","repos_url":"https://api.github.com/users/embear/repos","events_url":"https://api.github.com/users/embear/events{/privacy}","received_events_url":"https://api.github.com/users/embear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/embear/vim-localvimrc","description":"Search local vimrc files (\".lvimrc\") in the tree (root dir up to current dir) and load them.","fork":false,"url":"https://api.github.com/repos/embear/vim-localvimrc","forks_url":"https://api.github.com/repos/embear/vim-localvimrc/forks","keys_url":"https://api.github.com/repos/embear/vim-localvimrc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/embear/vim-localvimrc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/embear/vim-localvimrc/teams","hooks_url":"https://api.github.com/repos/embear/vim-localvimrc/hooks","issue_events_url":"https://api.github.com/repos/embear/vim-localvimrc/issues/events{/number}","events_url":"https://api.github.com/repos/embear/vim-localvimrc/events","assignees_url":"https://api.github.com/repos/embear/vim-localvimrc/assignees{/user}","branches_url":"https://api.github.com/repos/embear/vim-localvimrc/branches{/branch}","tags_url":"https://api.github.com/repos/embear/vim-localvimrc/tags","blobs_url":"https://api.github.com/repos/embear/vim-localvimrc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/embear/vim-localvimrc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/embear/vim-localvimrc/git/refs{/sha}","trees_url":"https://api.github.com/repos/embear/vim-localvimrc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/embear/vim-localvimrc/statuses/{sha}","languages_url":"https://api.github.com/repos/embear/vim-localvimrc/languages","stargazers_url":"https://api.github.com/repos/embear/vim-localvimrc/stargazers","contributors_url":"https://api.github.com/repos/embear/vim-localvimrc/contributors","subscribers_url":"https://api.github.com/repos/embear/vim-localvimrc/subscribers","subscription_url":"https://api.github.com/repos/embear/vim-localvimrc/subscription","commits_url":"https://api.github.com/repos/embear/vim-localvimrc/commits{/sha}","git_commits_url":"https://api.github.com/repos/embear/vim-localvimrc/git/commits{/sha}","comments_url":"https://api.github.com/repos/embear/vim-localvimrc/comments{/number}","issue_comment_url":"https://api.github.com/repos/embear/vim-localvimrc/issues/comments/{number}","contents_url":"https://api.github.com/repos/embear/vim-localvimrc/contents/{+path}","compare_url":"https://api.github.com/repos/embear/vim-localvimrc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/embear/vim-localvimrc/merges","archive_url":"https://api.github.com/repos/embear/vim-localvimrc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/embear/vim-localvimrc/downloads","issues_url":"https://api.github.com/repos/embear/vim-localvimrc/issues{/number}","pulls_url":"https://api.github.com/repos/embear/vim-localvimrc/pulls{/number}","milestones_url":"https://api.github.com/repos/embear/vim-localvimrc/milestones{/number}","notifications_url":"https://api.github.com/repos/embear/vim-localvimrc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/embear/vim-localvimrc/labels{/name}","releases_url":"https://api.github.com/repos/embear/vim-localvimrc/releases{/id}","created_at":"2011-07-06T06:38:47Z","updated_at":"2015-01-19T13:50:42Z","pushed_at":"2015-01-19T13:50:41Z","git_url":"git://github.com/embear/vim-localvimrc.git","ssh_url":"git@github.com:embear/vim-localvimrc.git","clone_url":"https://github.com/embear/vim-localvimrc.git","svn_url":"https://github.com/embear/vim-localvimrc","homepage":"http://www.vim.org/scripts/script.php?script_id=441","size":350,"stargazers_count":82,"watchers_count":82,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30"},"html":{"href":"https://github.com/embear/vim-localvimrc/pull/30"},"issue":{"href":"https://api.github.com/repos/embear/vim-localvimrc/issues/30"},"comments":{"href":"https://api.github.com/repos/embear/vim-localvimrc/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/embear/vim-localvimrc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/embear/vim-localvimrc/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/embear/vim-localvimrc/statuses/30f2ccfd6e183978a361718fc90705630f0995cc"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":8,"changed_files":1}}