Skip to content

Commit 58516fb

Browse files
Fixes panics on opening repositories with empty remotes
Uses a newer `git2` version with rust-lang/git2-rs#1120 fix
1 parent 82cee9e commit 58516fb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Cargo.lock

+4-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ fork = "0.2.0"
400400
futures = "0.3"
401401
futures-batch = "0.6.1"
402402
futures-lite = "1.13"
403-
git2 = { version = "0.19", default-features = false }
403+
# TODO: get back to regular versions when https://github.com/rust-lang/git2-rs/pull/1120 is released
404+
git2 = { git = "https://github.com/rust-lang/git2-rs", rev = "a3b90cb3756c1bb63e2317bf9cfa57838178de5c", default-features = false }
404405
globset = "0.4"
405406
handlebars = "4.3"
406407
heed = { version = "0.21.0", features = ["read-txn-no-tls"] }

0 commit comments

Comments
 (0)