{"action":"opened","number":2566,"pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566","id":51795085,"html_url":"https://github.com/fish-shell/fish-shell/pull/2566","diff_url":"https://github.com/fish-shell/fish-shell/pull/2566.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/2566.patch","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2566","number":2566,"state":"open","locked":false,"title":"Fix wrong exit code for `jobs` #2505","user":{"login":"maxnordlund","id":664779,"avatar_url":"https://avatars.githubusercontent.com/u/664779?v=3","gravatar_id":"","url":"https://api.github.com/users/maxnordlund","html_url":"https://github.com/maxnordlund","followers_url":"https://api.github.com/users/maxnordlund/followers","following_url":"https://api.github.com/users/maxnordlund/following{/other_user}","gists_url":"https://api.github.com/users/maxnordlund/gists{/gist_id}","starred_url":"https://api.github.com/users/maxnordlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxnordlund/subscriptions","organizations_url":"https://api.github.com/users/maxnordlund/orgs","repos_url":"https://api.github.com/users/maxnordlund/repos","events_url":"https://api.github.com/users/maxnordlund/events{/privacy}","received_events_url":"https://api.github.com/users/maxnordlund/received_events","type":"User","site_admin":false},"body":"This reworks the logic around the `found` variable since it was used for duel purposes.","created_at":"2015-11-25T13:40:15Z","updated_at":"2015-11-25T13:40:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566/commits","review_comments_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566/comments","review_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2566/comments","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/8cd683d19e2fe609473bf4be398174f7d27e882c","head":{"label":"maxnordlund:patch-1","ref":"patch-1","sha":"8cd683d19e2fe609473bf4be398174f7d27e882c","user":{"login":"maxnordlund","id":664779,"avatar_url":"https://avatars.githubusercontent.com/u/664779?v=3","gravatar_id":"","url":"https://api.github.com/users/maxnordlund","html_url":"https://github.com/maxnordlund","followers_url":"https://api.github.com/users/maxnordlund/followers","following_url":"https://api.github.com/users/maxnordlund/following{/other_user}","gists_url":"https://api.github.com/users/maxnordlund/gists{/gist_id}","starred_url":"https://api.github.com/users/maxnordlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxnordlund/subscriptions","organizations_url":"https://api.github.com/users/maxnordlund/orgs","repos_url":"https://api.github.com/users/maxnordlund/repos","events_url":"https://api.github.com/users/maxnordlund/events{/privacy}","received_events_url":"https://api.github.com/users/maxnordlund/received_events","type":"User","site_admin":false},"repo":{"id":46863176,"name":"fish-shell","full_name":"maxnordlund/fish-shell","owner":{"login":"maxnordlund","id":664779,"avatar_url":"https://avatars.githubusercontent.com/u/664779?v=3","gravatar_id":"","url":"https://api.github.com/users/maxnordlund","html_url":"https://github.com/maxnordlund","followers_url":"https://api.github.com/users/maxnordlund/followers","following_url":"https://api.github.com/users/maxnordlund/following{/other_user}","gists_url":"https://api.github.com/users/maxnordlund/gists{/gist_id}","starred_url":"https://api.github.com/users/maxnordlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxnordlund/subscriptions","organizations_url":"https://api.github.com/users/maxnordlund/orgs","repos_url":"https://api.github.com/users/maxnordlund/repos","events_url":"https://api.github.com/users/maxnordlund/events{/privacy}","received_events_url":"https://api.github.com/users/maxnordlund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxnordlund/fish-shell","description":"The user-friendly command line shell.","fork":true,"url":"https://api.github.com/repos/maxnordlund/fish-shell","forks_url":"https://api.github.com/repos/maxnordlund/fish-shell/forks","keys_url":"https://api.github.com/repos/maxnordlund/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxnordlund/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxnordlund/fish-shell/teams","hooks_url":"https://api.github.com/repos/maxnordlund/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/maxnordlund/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/maxnordlund/fish-shell/events","assignees_url":"https://api.github.com/repos/maxnordlund/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/maxnordlund/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/maxnordlund/fish-shell/tags","blobs_url":"https://api.github.com/repos/maxnordlund/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxnordlund/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxnordlund/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxnordlund/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxnordlund/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/maxnordlund/fish-shell/languages","stargazers_url":"https://api.github.com/repos/maxnordlund/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/maxnordlund/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/maxnordlund/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/maxnordlund/fish-shell/subscription","commits_url":"https://api.github.com/repos/maxnordlund/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxnordlund/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxnordlund/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxnordlund/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxnordlund/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/maxnordlund/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxnordlund/fish-shell/merges","archive_url":"https://api.github.com/repos/maxnordlund/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxnordlund/fish-shell/downloads","issues_url":"https://api.github.com/repos/maxnordlund/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/maxnordlund/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/maxnordlund/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/maxnordlund/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxnordlund/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/maxnordlund/fish-shell/releases{/id}","created_at":"2015-11-25T13:26:25Z","updated_at":"2015-11-25T13:26:31Z","pushed_at":"2015-11-25T13:37:49Z","git_url":"git://github.com/maxnordlund/fish-shell.git","ssh_url":"git@github.com:maxnordlund/fish-shell.git","clone_url":"https://github.com/maxnordlund/fish-shell.git","svn_url":"https://github.com/maxnordlund/fish-shell","homepage":"http://fishshell.com","size":26754,"stargazers_count":0,"watchers_count":0,"language":"C","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":"fish-shell:master","ref":"master","sha":"3b53abecd0ba70d5f011ee3e6447018ec3c0fa68","user":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"repo":{"id":4279682,"name":"fish-shell","full_name":"fish-shell/fish-shell","owner":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fish-shell/fish-shell","description":"The user-friendly command line shell.","fork":false,"url":"https://api.github.com/repos/fish-shell/fish-shell","forks_url":"https://api.github.com/repos/fish-shell/fish-shell/forks","keys_url":"https://api.github.com/repos/fish-shell/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fish-shell/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fish-shell/fish-shell/teams","hooks_url":"https://api.github.com/repos/fish-shell/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/fish-shell/fish-shell/events","assignees_url":"https://api.github.com/repos/fish-shell/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/fish-shell/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/fish-shell/fish-shell/tags","blobs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fish-shell/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/fish-shell/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/fish-shell/fish-shell/languages","stargazers_url":"https://api.github.com/repos/fish-shell/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/fish-shell/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/fish-shell/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/fish-shell/fish-shell/subscription","commits_url":"https://api.github.com/repos/fish-shell/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/fish-shell/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/fish-shell/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/fish-shell/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fish-shell/fish-shell/merges","archive_url":"https://api.github.com/repos/fish-shell/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fish-shell/fish-shell/downloads","issues_url":"https://api.github.com/repos/fish-shell/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/fish-shell/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/fish-shell/fish-shell/releases{/id}","created_at":"2012-05-10T03:00:55Z","updated_at":"2015-11-25T09:03:45Z","pushed_at":"2015-11-25T02:44:37Z","git_url":"git://github.com/fish-shell/fish-shell.git","ssh_url":"git@github.com:fish-shell/fish-shell.git","clone_url":"https://github.com/fish-shell/fish-shell.git","svn_url":"https://github.com/fish-shell/fish-shell","homepage":"http://fishshell.com","size":31327,"stargazers_count":4943,"watchers_count":4943,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":476,"mirror_url":null,"open_issues_count":629,"forks":476,"open_issues":629,"watchers":4943,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566"},"html":{"href":"https://github.com/fish-shell/fish-shell/pull/2566"},"issue":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2566"},"comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2566/comments"},"review_comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566/comments"},"review_comment":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2566/commits"},"statuses":{"href":"https://api.github.com/repos/fish-shell/fish-shell/statuses/8cd683d19e2fe609473bf4be398174f7d27e882c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":16,"changed_files":1}}