diff --git a/crates/git_graph/src/git_graph.rs b/crates/git_graph/src/git_graph.rs index 1d06ecb1c49fd05c2412c75c1cc6dd36eff84d9a..8f32887b03532573a8c57cd6d629fd8f3af7a76f 100644 --- a/crates/git_graph/src/git_graph.rs +++ b/crates/git_graph/src/git_graph.rs @@ -2100,9 +2100,17 @@ impl GitGraph { .w_full() .justify_between() .child( - Label::new(format!("{} Changed Files", changed_files_count)) - .size(LabelSize::Small) - .color(Color::Muted), + Label::new(format!( + "{} Changed {}", + changed_files_count, + if changed_files_count == 1 { + "File" + } else { + "Files" + } + )) + .size(LabelSize::Small) + .color(Color::Muted), ) .child(DiffStat::new( "commit-diff-stat",