Skip to content

Commit

Permalink
Auto merge of #7018 - cuviper:libgit2-0.28, r=alexcrichton
Browse files Browse the repository at this point in the history
Update git2 crates for libgit2 0.28

See rust-lang/git2-rs#425
  • Loading branch information
bors committed Jun 7, 2019
2 parents 9ef364a + c35c900 commit e30ab5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ failure = "0.1.5"
filetime = "0.2"
flate2 = { version = "1.0.3", features = ['zlib'] }
fs2 = "0.4"
git2 = "0.8.0"
git2-curl = "0.9.0"
git2 = "0.9.0"
git2-curl = "0.10.0"
glob = "0.3.0"
hex = "0.3"
home = "0.3"
Expand All @@ -43,7 +43,7 @@ jobserver = "0.1.13"
lazycell = "1.2.0"
libc = "0.2"
log = "0.4.6"
libgit2-sys = "0.7.9"
libgit2-sys = "0.8.0"
memchr = "2.1.3"
num_cpus = "1.0"
opener = "0.4"
Expand Down
6 changes: 5 additions & 1 deletion tests/testsuite/build_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ fn http_auth_offered() {
let config = paths::home().join(".gitconfig");
let mut config = git2::Config::open(&config).unwrap();
config
.set_str("credential.helper", &script.display().to_string())
.set_str(
"credential.helper",
// This is a bash script so replace `\` with `/` for Windows
&script.display().to_string().replace("\\", "/"),
)
.unwrap();

let p = project()
Expand Down

0 comments on commit e30ab5e

Please sign in to comment.