{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3230","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3230/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3230/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3230/events","html_url":"https://github.com/fish-shell/fish-shell/pull/3230","id":165519751,"number":3230,"title":"Limit the number of commits in completions","user":{"login":"gladhorn","id":1476301,"avatar_url":"https://avatars.githubusercontent.com/u/1476301?v=3","gravatar_id":"","url":"https://api.github.com/users/gladhorn","html_url":"https://github.com/gladhorn","followers_url":"https://api.github.com/users/gladhorn/followers","following_url":"https://api.github.com/users/gladhorn/following{/other_user}","gists_url":"https://api.github.com/users/gladhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/gladhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gladhorn/subscriptions","organizations_url":"https://api.github.com/users/gladhorn/orgs","repos_url":"https://api.github.com/users/gladhorn/repos","events_url":"https://api.github.com/users/gladhorn/events{/privacy}","received_events_url":"https://api.github.com/users/gladhorn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/completions","name":"completions","color":"E6C0E5"},{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are issues that are not targeted for an upcoming minor or major release. After a release, we will re-examine these issues and pull any in that we think are good targets; that is retarget them to the next minor (or major) release.\r\n\r\nIf you can provide a fix for an issue in this milestone, we'll generally accept it for the next release even if the issue is not targeted for the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":383,"closed_issues":2,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-08-03T06:13:19Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-07-14T09:38:59Z","updated_at":"2016-08-03T11:15:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/3230","html_url":"https://github.com/fish-shell/fish-shell/pull/3230","diff_url":"https://github.com/fish-shell/fish-shell/pull/3230.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/3230.patch"},"body":"Offering auto completion for existing commits is great, but on big\r\nrepositories, it suddenly becomes really slow, even with fast hard\r\ndisks, since each commit is read and then a line processed for it.\r\n\r\nInstead limit to the last 500 commits (arbitrary number) which still\r\nfeels fast. Going back further in history can easily and more reasonably\r\ndone with git log etc."},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/237209621","html_url":"https://github.com/fish-shell/fish-shell/pull/3230#issuecomment-237209621","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3230","id":237209621,"user":{"login":"gladhorn","id":1476301,"avatar_url":"https://avatars.githubusercontent.com/u/1476301?v=3","gravatar_id":"","url":"https://api.github.com/users/gladhorn","html_url":"https://github.com/gladhorn","followers_url":"https://api.github.com/users/gladhorn/followers","following_url":"https://api.github.com/users/gladhorn/following{/other_user}","gists_url":"https://api.github.com/users/gladhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/gladhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gladhorn/subscriptions","organizations_url":"https://api.github.com/users/gladhorn/orgs","repos_url":"https://api.github.com/users/gladhorn/repos","events_url":"https://api.github.com/users/gladhorn/events{/privacy}","received_events_url":"https://api.github.com/users/gladhorn/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T11:15:50Z","updated_at":"2016-08-03T11:15:50Z","body":"Is there any way to sort completions? For fixup, I'd like to return commits in the current branch, and then it's most sensible to return the most recent ones first."}}
{"actor":{"display_login":"gladhorn"}}