{"action":"created","issue":{"url":"https://api.github.com/repos/tpope/vim-fugitive/issues/413","labels_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/413/comments","events_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/413/events","html_url":"https://github.com/tpope/vim-fugitive/pull/413","id":23846178,"number":413,"title":"add 'diff in new tab'","user":{"login":"yssl","id":5915359,"avatar_url":"https://avatars.githubusercontent.com/u/5915359?v=3","gravatar_id":"","url":"https://api.github.com/users/yssl","html_url":"https://github.com/yssl","followers_url":"https://api.github.com/users/yssl/followers","following_url":"https://api.github.com/users/yssl/following{/other_user}","gists_url":"https://api.github.com/users/yssl/gists{/gist_id}","starred_url":"https://api.github.com/users/yssl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yssl/subscriptions","organizations_url":"https://api.github.com/users/yssl/orgs","repos_url":"https://api.github.com/users/yssl/repos","events_url":"https://api.github.com/users/yssl/events{/privacy}","received_events_url":"https://api.github.com/users/yssl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-12-06T09:31:43Z","updated_at":"2015-03-23T20:58:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tpope/vim-fugitive/pulls/413","html_url":"https://github.com/tpope/vim-fugitive/pull/413","diff_url":"https://github.com/tpope/vim-fugitive/pull/413.diff","patch_url":"https://github.com/tpope/vim-fugitive/pull/413.patch"},"body":"I've already searched and read postings related with \"diff in tab page\" topic ([Issue #36](https://github.com/tpope/vim-fugitive/issues/36), [Issue #76](https://github.com/tpope/vim-fugitive/issues/76), [Pull Request #319](https://github.com/tpope/vim-fugitive/pull/319)).\r\n\r\nI don't think that you prefer doing diff in a tab page.\r\nBut I think not a few people want to do diff in that way, because diff in a tab page has several advantages :\r\n- Maximized diff window would be helpful for comparing two files, especially for long files. Even for short files, one can compare two files at a first glance.\r\n- Diff in that way does not have any influence on the original working buffers / windows in vim. After diff, one can return to their original workspace just by closing the diff tab page.\r\n\r\nI added only two features, so I think that the commands are not getting messy and still clear.\r\n- 'dt' in Gstatus window\r\n- :Gtdiff command\r\n\r\nThis is my first pull request, so please understand me if I make some mistakes."},"comment":{"url":"https://api.github.com/repos/tpope/vim-fugitive/issues/comments/85193866","html_url":"https://github.com/tpope/vim-fugitive/pull/413#issuecomment-85193866","issue_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/413","id":85193866,"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},"created_at":"2015-03-23T20:58:35Z","updated_at":"2015-03-23T20:58:35Z","body":"This would need documentation (see #319).\r\n\r\nAnd it might be simplified as with https://github.com/tpope/vim-fugitive/pull/319, not defining an extra function."}}