diff --git a/_typos.toml b/_typos.toml index 7f3e5091b15..8d8226d7aa3 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,5 +1,18 @@ +[default] +extend-ignore-identifiers-re = [ + "[a-f0-9]{7,}", + "[Ff][Oo][Oo]", + "[a-zA-Z0-9]{20,}", +] + [files] -extend-exclude = ["**/CHANGELOG.md", "**/tests/fixtures/**"] +extend-exclude = [ + "**/CHANGELOG.md", + "**/tests/fixtures/**", + "gix-config/benches/large_config_file.rs", + "gix-glob/tests/wildmatch/mod.rs" +] + [default.extend-words] rela = "rela" diff --git a/gix-pack/src/data/output/count/mod.rs b/gix-pack/src/data/output/count/mod.rs index e7ee767de62..f54a3b3c6e4 100644 --- a/gix-pack/src/data/output/count/mod.rs +++ b/gix-pack/src/data/output/count/mod.rs @@ -30,7 +30,7 @@ impl PackLocation { } impl Count { - /// Create a new instance from the given `oid` and its corresponding git `obj`ect data. + /// Create a new instance from the given `oid` and its corresponding location. pub fn from_data(oid: impl Into, location: Option) -> Self { Count { id: oid.into(), diff --git a/gix-pack/src/data/output/entry/mod.rs b/gix-pack/src/data/output/entry/mod.rs index 401d2f24c0f..87340e7046d 100644 --- a/gix-pack/src/data/output/entry/mod.rs +++ b/gix-pack/src/data/output/entry/mod.rs @@ -126,7 +126,7 @@ impl output::Entry { }) } - /// Create a new instance from the given `oid` and its corresponding git `obj`ect data. + /// Create a new instance from the given `oid` and its corresponding git object data `obj`. pub fn from_data(count: &output::Count, obj: &gix_object::Data<'_>) -> Result { Ok(output::Entry { id: count.id.to_owned(),