Skip to content

Commit

Permalink
fix codespell errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdinis committed Jan 2, 2025
1 parent 429d536 commit 36e60bb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ fn convert_git_fetch_output_to_fetch_result(

// even though --prune is specified, if a particular refspec is asked for but
// not present in the remote, git will error out.
// we ignore it explicitely
// we ignore it explicitly
//
// The first line is of the form:
// `fatal: couldn't find remote ref refs/heads/<ref>`
Expand Down Expand Up @@ -2361,9 +2361,8 @@ fn convert_git_remote_show_output_to_fetch_result(
return e;
}

// even though --prune is specified, if a particular refspec is asked for but
// not present in the remote, git will error out.
// we ignore it explicitely
// if a particular refspec is asked for but not present in the remote, git will
// error out. we ignore it explicitly
//
// The first line is of the form:
// `fatal: couldn't find remote ref refs/heads/<ref>`
Expand Down Expand Up @@ -2421,7 +2420,7 @@ fn fork_git_remote_show(
.find(|x| x.starts_with("HEAD branch:"))
.and_then(|x| x.split(" ").last().map(|y| y.trim().to_string()));

// git will ouptut (unknown) if there is no default branch. we want it to be a
// git will output (unknown) if there is no default branch. we want it to be a
// none value
if let Some(x) = branch_name.as_deref() {
if x == "(unknown)" {
Expand Down

0 comments on commit 36e60bb

Please sign in to comment.