We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rust-lang/rust
1 parent c7a4b84 commit 9a02b63Copy full SHA for 9a02b63
src/git.rs
@@ -108,7 +108,7 @@ fn find_origin_remote(repo: &Repository) -> anyhow::Result<String> {
108
repo.remotes()?
109
.iter()
110
.filter_map(|name| name.and_then(|name| repo.find_remote(name).ok()))
111
- .find(|remote| remote.url().map_or(false, |url| url.contains(RUST_SRC_URL)))
+ .find(|remote| remote.url().map_or(false, |url| url.contains("rust-lang/rust")))
112
.and_then(|remote| remote.name().map(std::string::ToString::to_string))
113
.with_context(|| {
114
format!(
0 commit comments