]> git.proxmox.com Git - cargo.git/commit
Auto merge of #6280 - zachreizner:master, r=dwijnand
authorbors <bors@rust-lang.org>
Thu, 29 Nov 2018 09:07:16 +0000 (09:07 +0000)
committerbors <bors@rust-lang.org>
Thu, 29 Nov 2018 09:07:16 +0000 (09:07 +0000)
commite70bccff8b3aee537d28dd14d4205df319e3260e
treef16d825a027a37a1c3bd9427a888bf754e25c039
parentd8f066eafe97911295fad8223b280710a1adcbda
parentfd5fb6e2dc4c6b06402d4c14df270edf6cd56b57
Auto merge of #6280 - zachreizner:master, r=dwijnand

use allow-dirty option in `cargo package` to skip vcs checks

If `cargo package` is run for a crate that is not version controlled in
a way that cargo expects, git2 will overreach upwards and grab a
irrelevant .git repo. This change uses `--allow-dirty` to imply to `cargo package` that it should not be checking for version control information, fixing this issue.
src/cargo/ops/cargo_package.rs