style(format): reformat code with consistent line breaks and spacing

This commit is contained in:
zhenyi
2026-06-12 15:11:32 +08:00
parent 6f40921576
commit 0e13f90834
16 changed files with 381 additions and 347 deletions
+5 -7
View File
@@ -203,13 +203,11 @@ pub fn get_feature_oid(gb: &GitBare) -> String {
#[allow(dead_code)]
pub fn oid_selector(hex: &str) -> Option<gitks::pb::ObjectSelector> {
Some(gitks::pb::ObjectSelector {
selector: Some(gitks::pb::object_selector::Selector::Oid(
gitks::pb::Oid {
hex: hex.to_string(),
value: vec![],
format: 0,
},
)),
selector: Some(gitks::pb::object_selector::Selector::Oid(gitks::pb::Oid {
hex: hex.to_string(),
value: vec![],
format: 0,
})),
})
}