]> git.proxmox.com Git - cargo.git/commit - src/cargo/sources/path.rs
Filter statuses only by the relevant path
authorAlex Crichton <alex@alexcrichton.com>
Thu, 25 Jun 2015 06:56:59 +0000 (23:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 25 Jun 2015 06:59:03 +0000 (23:59 -0700)
commitb6ad6fb47deb49b82b82e65c73590c6713a3d789
tree68e70dfdd68ce5ed8e17e09313f1be8d72cf6771
parenta2dd2ac60015974d413970f49fddd6784b293098
Filter statuses only by the relevant path

This enables libgit2 to not traverse the majority of the tree, saving a lot of
otherwise unnecessary syscalls.
src/cargo/sources/path.rs