summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fleet/pkgs/naut/src/main.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/fleet/pkgs/naut/src/main.rs b/fleet/pkgs/naut/src/main.rs
index 2349330..8c74b6d 100644
--- a/fleet/pkgs/naut/src/main.rs
+++ b/fleet/pkgs/naut/src/main.rs
@@ -203,9 +203,14 @@ async fn handle(
 					.collect();
 
 				lines.push(format!(
-					"[{}] {} commits pushed to {}",
+					"[{}] {} {} pushed to {}",
 					repo_name,
 					commits.len(),
+					if commits.len() == 1 {
+						"commit"
+					} else {
+						"commits"
+					},
 					ref_name
 				));