{"action":"closed","number":50,"pull_request":{"url":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50","id":59193495,"html_url":"https://github.com/stevemao/diff-so-fancy/pull/50","diff_url":"https://github.com/stevemao/diff-so-fancy/pull/50.diff","patch_url":"https://github.com/stevemao/diff-so-fancy/pull/50.patch","issue_url":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/50","number":50,"state":"closed","locked":false,"title":"Add `-F -X` flags to the pager so that less doesn't clear the screen for a short diff","user":{"login":"arthurdarcet","id":973454,"avatar_url":"https://avatars.githubusercontent.com/u/973454?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurdarcet","html_url":"https://github.com/arthurdarcet","followers_url":"https://api.github.com/users/arthurdarcet/followers","following_url":"https://api.github.com/users/arthurdarcet/following{/other_user}","gists_url":"https://api.github.com/users/arthurdarcet/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurdarcet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurdarcet/subscriptions","organizations_url":"https://api.github.com/users/arthurdarcet/orgs","repos_url":"https://api.github.com/users/arthurdarcet/repos","events_url":"https://api.github.com/users/arthurdarcet/events{/privacy}","received_events_url":"https://api.github.com/users/arthurdarcet/received_events","type":"User","site_admin":false},"body":"`-F` makes less return immediately if the content fits on the screen. Without this you need to press Q to get back to your shell even if the diff was only a few lines long\r\n`-X` prevent less from clearing the screen at the beginning. Which is undesirable if the content fits on one screen and unnecessary if the content is longer than a screen.\r\n\r\nAnd the `-R` flag (not added by this PR) displays colors correctly instead of outputting as ASCII representation of the control chars","created_at":"2016-02-12T16:11:19Z","updated_at":"2016-02-13T10:58:34Z","closed_at":"2016-02-13T10:58:34Z","merged_at":"2016-02-13T10:58:34Z","merge_commit_sha":"7904430009bf8eb7aef94239a2a7d31278401b60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50/commits","review_comments_url":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50/comments","review_comment_url":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/50/comments","statuses_url":"https://api.github.com/repos/stevemao/diff-so-fancy/statuses/d2e5dbe9531b7d9809f521531dde1ea5e68cb288","head":{"label":"arthurdarcet:patch-1","ref":"patch-1","sha":"d2e5dbe9531b7d9809f521531dde1ea5e68cb288","user":{"login":"arthurdarcet","id":973454,"avatar_url":"https://avatars.githubusercontent.com/u/973454?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurdarcet","html_url":"https://github.com/arthurdarcet","followers_url":"https://api.github.com/users/arthurdarcet/followers","following_url":"https://api.github.com/users/arthurdarcet/following{/other_user}","gists_url":"https://api.github.com/users/arthurdarcet/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurdarcet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurdarcet/subscriptions","organizations_url":"https://api.github.com/users/arthurdarcet/orgs","repos_url":"https://api.github.com/users/arthurdarcet/repos","events_url":"https://api.github.com/users/arthurdarcet/events{/privacy}","received_events_url":"https://api.github.com/users/arthurdarcet/received_events","type":"User","site_admin":false},"repo":{"id":51599464,"name":"diff-so-fancy","full_name":"arthurdarcet/diff-so-fancy","owner":{"login":"arthurdarcet","id":973454,"avatar_url":"https://avatars.githubusercontent.com/u/973454?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurdarcet","html_url":"https://github.com/arthurdarcet","followers_url":"https://api.github.com/users/arthurdarcet/followers","following_url":"https://api.github.com/users/arthurdarcet/following{/other_user}","gists_url":"https://api.github.com/users/arthurdarcet/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurdarcet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurdarcet/subscriptions","organizations_url":"https://api.github.com/users/arthurdarcet/orgs","repos_url":"https://api.github.com/users/arthurdarcet/repos","events_url":"https://api.github.com/users/arthurdarcet/events{/privacy}","received_events_url":"https://api.github.com/users/arthurdarcet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arthurdarcet/diff-so-fancy","description":"Unfancy git-diff","fork":true,"url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy","forks_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/forks","keys_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/teams","hooks_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/hooks","issue_events_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/issues/events{/number}","events_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/events","assignees_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/assignees{/user}","branches_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/branches{/branch}","tags_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/tags","blobs_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/statuses/{sha}","languages_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/languages","stargazers_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/stargazers","contributors_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/contributors","subscribers_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/subscribers","subscription_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/subscription","commits_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/contents/{+path}","compare_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/merges","archive_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/downloads","issues_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/issues{/number}","pulls_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/pulls{/number}","milestones_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/milestones{/number}","notifications_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/labels{/name}","releases_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/releases{/id}","deployments_url":"https://api.github.com/repos/arthurdarcet/diff-so-fancy/deployments","created_at":"2016-02-12T16:08:35Z","updated_at":"2016-02-12T16:08:35Z","pushed_at":"2016-02-13T10:53:09Z","git_url":"git://github.com/arthurdarcet/diff-so-fancy.git","ssh_url":"git@github.com:arthurdarcet/diff-so-fancy.git","clone_url":"https://github.com/arthurdarcet/diff-so-fancy.git","svn_url":"https://github.com/arthurdarcet/diff-so-fancy","homepage":"","size":59,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"stevemao:master","ref":"master","sha":"455ea672ac0d071283aa16b547cb1633e4ebb9bc","user":{"login":"stevemao","id":6316590,"avatar_url":"https://avatars.githubusercontent.com/u/6316590?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemao","html_url":"https://github.com/stevemao","followers_url":"https://api.github.com/users/stevemao/followers","following_url":"https://api.github.com/users/stevemao/following{/other_user}","gists_url":"https://api.github.com/users/stevemao/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemao/subscriptions","organizations_url":"https://api.github.com/users/stevemao/orgs","repos_url":"https://api.github.com/users/stevemao/repos","events_url":"https://api.github.com/users/stevemao/events{/privacy}","received_events_url":"https://api.github.com/users/stevemao/received_events","type":"User","site_admin":false},"repo":{"id":51071818,"name":"diff-so-fancy","full_name":"stevemao/diff-so-fancy","owner":{"login":"stevemao","id":6316590,"avatar_url":"https://avatars.githubusercontent.com/u/6316590?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemao","html_url":"https://github.com/stevemao","followers_url":"https://api.github.com/users/stevemao/followers","following_url":"https://api.github.com/users/stevemao/following{/other_user}","gists_url":"https://api.github.com/users/stevemao/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemao/subscriptions","organizations_url":"https://api.github.com/users/stevemao/orgs","repos_url":"https://api.github.com/users/stevemao/repos","events_url":"https://api.github.com/users/stevemao/events{/privacy}","received_events_url":"https://api.github.com/users/stevemao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevemao/diff-so-fancy","description":"Good-lookin' diffs with diff-highlight and more","fork":false,"url":"https://api.github.com/repos/stevemao/diff-so-fancy","forks_url":"https://api.github.com/repos/stevemao/diff-so-fancy/forks","keys_url":"https://api.github.com/repos/stevemao/diff-so-fancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevemao/diff-so-fancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevemao/diff-so-fancy/teams","hooks_url":"https://api.github.com/repos/stevemao/diff-so-fancy/hooks","issue_events_url":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/events{/number}","events_url":"https://api.github.com/repos/stevemao/diff-so-fancy/events","assignees_url":"https://api.github.com/repos/stevemao/diff-so-fancy/assignees{/user}","branches_url":"https://api.github.com/repos/stevemao/diff-so-fancy/branches{/branch}","tags_url":"https://api.github.com/repos/stevemao/diff-so-fancy/tags","blobs_url":"https://api.github.com/repos/stevemao/diff-so-fancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevemao/diff-so-fancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevemao/diff-so-fancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevemao/diff-so-fancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevemao/diff-so-fancy/statuses/{sha}","languages_url":"https://api.github.com/repos/stevemao/diff-so-fancy/languages","stargazers_url":"https://api.github.com/repos/stevemao/diff-so-fancy/stargazers","contributors_url":"https://api.github.com/repos/stevemao/diff-so-fancy/contributors","subscribers_url":"https://api.github.com/repos/stevemao/diff-so-fancy/subscribers","subscription_url":"https://api.github.com/repos/stevemao/diff-so-fancy/subscription","commits_url":"https://api.github.com/repos/stevemao/diff-so-fancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevemao/diff-so-fancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevemao/diff-so-fancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevemao/diff-so-fancy/contents/{+path}","compare_url":"https://api.github.com/repos/stevemao/diff-so-fancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevemao/diff-so-fancy/merges","archive_url":"https://api.github.com/repos/stevemao/diff-so-fancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevemao/diff-so-fancy/downloads","issues_url":"https://api.github.com/repos/stevemao/diff-so-fancy/issues{/number}","pulls_url":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls{/number}","milestones_url":"https://api.github.com/repos/stevemao/diff-so-fancy/milestones{/number}","notifications_url":"https://api.github.com/repos/stevemao/diff-so-fancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevemao/diff-so-fancy/labels{/name}","releases_url":"https://api.github.com/repos/stevemao/diff-so-fancy/releases{/id}","deployments_url":"https://api.github.com/repos/stevemao/diff-so-fancy/deployments","created_at":"2016-02-04T11:32:08Z","updated_at":"2016-02-13T10:53:25Z","pushed_at":"2016-02-13T10:58:34Z","git_url":"git://github.com/stevemao/diff-so-fancy.git","ssh_url":"git@github.com:stevemao/diff-so-fancy.git","clone_url":"https://github.com/stevemao/diff-so-fancy.git","svn_url":"https://github.com/stevemao/diff-so-fancy","homepage":"","size":67,"stargazers_count":2275,"watchers_count":2275,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":10,"forks":34,"open_issues":10,"watchers":2275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50"},"html":{"href":"https://github.com/stevemao/diff-so-fancy/pull/50"},"issue":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/50"},"comments":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/stevemao/diff-so-fancy/statuses/d2e5dbe9531b7d9809f521531dde1ea5e68cb288"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stevemao","id":6316590,"avatar_url":"https://avatars.githubusercontent.com/u/6316590?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemao","html_url":"https://github.com/stevemao","followers_url":"https://api.github.com/users/stevemao/followers","following_url":"https://api.github.com/users/stevemao/following{/other_user}","gists_url":"https://api.github.com/users/stevemao/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemao/subscriptions","organizations_url":"https://api.github.com/users/stevemao/orgs","repos_url":"https://api.github.com/users/stevemao/repos","events_url":"https://api.github.com/users/stevemao/events{/privacy}","received_events_url":"https://api.github.com/users/stevemao/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}