@@ -671,12 +671,12 @@ pub fn fetch(
671
671
bail ! ( "can't update a git repository in the offline mode" )
672
672
}
673
673
674
- // If we're fetching from github , attempt github 's special fast path for
674
+ // If we're fetching from GitHub , attempt GitHub 's special fast path for
675
675
// testing if we've already got an up-to-date copy of the repository
676
676
if url. host_str ( ) == Some ( "github.com" ) {
677
677
if let Ok ( oid) = repo. refname_to_id ( "refs/remotes/origin/master" ) {
678
678
let mut handle = config. http ( ) ?. borrow_mut ( ) ;
679
- debug ! ( "attempting github fast path for {}" , url) ;
679
+ debug ! ( "attempting GitHub fast path for {}" , url) ;
680
680
if github_up_to_date ( & mut handle, url, & oid) {
681
681
return Ok ( ( ) ) ;
682
682
} else {
@@ -821,7 +821,7 @@ fn reinitialize(repo: &mut git2::Repository) -> CargoResult<()> {
821
821
}
822
822
823
823
/// Updating the index is done pretty regularly so we want it to be as fast as
824
- /// possible. For registries hosted on github (like the crates.io index) there's
824
+ /// possible. For registries hosted on GitHub (like the crates.io index) there's
825
825
/// a fast path available to use [1] to tell us that there's no updates to be
826
826
/// made.
827
827
///
@@ -844,7 +844,7 @@ fn github_up_to_date(handle: &mut Easy, url: &Url, oid: &git2::Oid) -> bool {
844
844
} )
845
845
}
846
846
847
- // This expects github urls in the form `github.com/user/repo` and nothing
847
+ // This expects GitHub urls in the form `github.com/user/repo` and nothing
848
848
// else
849
849
let mut pieces = try!( url. path_segments ( ) ) ;
850
850
let username = try!( pieces. next ( ) ) ;
0 commit comments