{"action":"closed","number":1746,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/1746","id":38517792,"html_url":"https://github.com/rust-lang/cargo/pull/1746","diff_url":"https://github.com/rust-lang/cargo/pull/1746.diff","patch_url":"https://github.com/rust-lang/cargo/pull/1746.patch","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1746","number":1746,"state":"closed","locked":false,"title":"Filter statuses only by the relevant path","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"body":"This enables libgit2 to not traverse the majority of the tree, saving a lot of\r\notherwise unnecessary syscalls.\r\n\r\nFor me this locally reduced the `cargo test` time of winapi-rs from 1.2s to 0.27s","created_at":"2015-06-25T07:07:31Z","updated_at":"2015-06-25T16:21:00Z","closed_at":"2015-06-25T16:21:00Z","merged_at":"2015-06-25T16:21:00Z","merge_commit_sha":"04b0d6e766aaa4bf1e20e300dbc23c929adf89ab","assignee":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/cargo/pulls/1746/commits","review_comments_url":"https://api.github.com/repos/rust-lang/cargo/pulls/1746/comments","review_comment_url":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1746/comments","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/b6ad6fb47deb49b82b82e65c73590c6713a3d789","head":{"label":"alexcrichton:less-git-operations","ref":"less-git-operations","sha":"b6ad6fb47deb49b82b82e65c73590c6713a3d789","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"repo":{"id":20969258,"name":"cargo","full_name":"alexcrichton/cargo","owner":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexcrichton/cargo","description":"Cargo Experiments","fork":true,"url":"https://api.github.com/repos/alexcrichton/cargo","forks_url":"https://api.github.com/repos/alexcrichton/cargo/forks","keys_url":"https://api.github.com/repos/alexcrichton/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexcrichton/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexcrichton/cargo/teams","hooks_url":"https://api.github.com/repos/alexcrichton/cargo/hooks","issue_events_url":"https://api.github.com/repos/alexcrichton/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/alexcrichton/cargo/events","assignees_url":"https://api.github.com/repos/alexcrichton/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/alexcrichton/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/alexcrichton/cargo/tags","blobs_url":"https://api.github.com/repos/alexcrichton/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexcrichton/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexcrichton/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexcrichton/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexcrichton/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/alexcrichton/cargo/languages","stargazers_url":"https://api.github.com/repos/alexcrichton/cargo/stargazers","contributors_url":"https://api.github.com/repos/alexcrichton/cargo/contributors","subscribers_url":"https://api.github.com/repos/alexcrichton/cargo/subscribers","subscription_url":"https://api.github.com/repos/alexcrichton/cargo/subscription","commits_url":"https://api.github.com/repos/alexcrichton/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexcrichton/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexcrichton/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexcrichton/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexcrichton/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/alexcrichton/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexcrichton/cargo/merges","archive_url":"https://api.github.com/repos/alexcrichton/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexcrichton/cargo/downloads","issues_url":"https://api.github.com/repos/alexcrichton/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/alexcrichton/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/alexcrichton/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/alexcrichton/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexcrichton/cargo/labels{/name}","releases_url":"https://api.github.com/repos/alexcrichton/cargo/releases{/id}","created_at":"2014-06-18T16:22:37Z","updated_at":"2014-06-25T22:54:56Z","pushed_at":"2015-06-25T07:07:06Z","git_url":"git://github.com/alexcrichton/cargo.git","ssh_url":"git@github.com:alexcrichton/cargo.git","clone_url":"https://github.com/alexcrichton/cargo.git","svn_url":"https://github.com/alexcrichton/cargo","homepage":null,"size":10258,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"rust-lang:master","ref":"master","sha":"e6fff695e30aeea323733e16167d362a38520579","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":17420913,"name":"cargo","full_name":"rust-lang/cargo","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/cargo","description":"The Rust package manager","fork":false,"url":"https://api.github.com/repos/rust-lang/cargo","forks_url":"https://api.github.com/repos/rust-lang/cargo/forks","keys_url":"https://api.github.com/repos/rust-lang/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/cargo/teams","hooks_url":"https://api.github.com/repos/rust-lang/cargo/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/cargo/events","assignees_url":"https://api.github.com/repos/rust-lang/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/cargo/tags","blobs_url":"https://api.github.com/repos/rust-lang/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/cargo/languages","stargazers_url":"https://api.github.com/repos/rust-lang/cargo/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/cargo/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/cargo/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/cargo/subscription","commits_url":"https://api.github.com/repos/rust-lang/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/cargo/merges","archive_url":"https://api.github.com/repos/rust-lang/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/cargo/downloads","issues_url":"https://api.github.com/repos/rust-lang/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/cargo/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/cargo/releases{/id}","created_at":"2014-03-04T23:20:42Z","updated_at":"2015-06-25T15:54:13Z","pushed_at":"2015-06-25T16:21:00Z","git_url":"git://github.com/rust-lang/cargo.git","ssh_url":"git@github.com:rust-lang/cargo.git","clone_url":"https://github.com/rust-lang/cargo.git","svn_url":"https://github.com/rust-lang/cargo","homepage":"http://crates.io/","size":27037,"stargazers_count":1162,"watchers_count":1162,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":244,"mirror_url":null,"open_issues_count":172,"forks":244,"open_issues":172,"watchers":1162,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/1746"},"html":{"href":"https://github.com/rust-lang/cargo/pull/1746"},"issue":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/1746"},"comments":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/1746/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/1746/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/1746/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/cargo/statuses/b6ad6fb47deb49b82b82e65c73590c6713a3d789"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}