Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build.rs: only update libgit2 submodule (rust-lang#574) (rust-lan…
…g#575) If the user (for whatever reason) has their $CARGO_HOME in a git repository, and libgit2-sys is built in there (e.g. as a dependency of cargo), the build script will erroneously update all submodules in our parent directories. This wasn't intended - we only wish to update libgit2. This commit corrects this by specifying the current directory when calling git submodule update. Co-authored-by: Antonius Mulder <github@mldr.id.au>
- Loading branch information