From 36e60bb124debf7b520fbe3e9660fc1b5f25cc5e Mon Sep 17 00:00:00 2001 From: bsdinis Date: Thu, 2 Jan 2025 02:16:36 +0000 Subject: [PATCH] fix codespell errors --- lib/src/git.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/src/git.rs b/lib/src/git.rs index f188f7f001..1d693a2212 100644 --- a/lib/src/git.rs +++ b/lib/src/git.rs @@ -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/` @@ -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/` @@ -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)" {