Found a bug? We'd love to know about it!
-Please report all issues on the github [issue tracker][issues].
+Please report all issues on the GitHub [issue tracker][issues].
[issues]: https://github.com/rust-lang/cargo/issues
url.path_segments_mut().unwrap().pop_if_empty();
}
- // HACKHACK: For github URL's specifically just lowercase
+ // HACKHACK: For GitHub URL's specifically just lowercase
// everything. GitHub treats both the same, but they hash
// differently, and we're gonna be hashing them. This wants a more
// general solution, and also we're almost certainly not using the
bail!("can't update a git repository in the offline mode")
}
- // If we're fetching from github, attempt github's special fast path for
+ // If we're fetching from GitHub, attempt GitHub's special fast path for
// testing if we've already got an up-to-date copy of the repository
if url.host_str() == Some("github.com") {
if let Ok(oid) = repo.refname_to_id("refs/remotes/origin/master") {
let mut handle = config.http()?.borrow_mut();
- debug!("attempting github fast path for {}", url);
+ debug!("attempting GitHub fast path for {}", url);
if github_up_to_date(&mut handle, url, &oid) {
return Ok(());
} else {
}
/// Updating the index is done pretty regularly so we want it to be as fast as
-/// possible. For registries hosted on github (like the crates.io index) there's
+/// possible. For registries hosted on GitHub (like the crates.io index) there's
/// a fast path available to use [1] to tell us that there's no updates to be
/// made.
///
})
}
- // This expects github urls in the form `github.com/user/repo` and nothing
+ // This expects GitHub urls in the form `github.com/user/repo` and nothing
// else
let mut pieces = try!(url.path_segments());
let username = try!(pieces.next());