download patch
commit 48a17628e300de6840637821739e8baf06377414
Author: tri <tri@thac.loan>
Date: Sat Sep 27 22:39:45 2025 +0700
only print summaries
diff --git a/src/main.zig b/src/main.zig
index 8374976..97c9a3b 100644
--- a/src/main.zig
+++ b/src/main.zig
pub fn main() !u8 {
try git.updateServerInfo(repo_arena, repo_dir);
const commits = try git.getCommits(repo_arena, repo_dir);
- for (commits) |commit| {
- println(
- ">> commit: {s} / {s} / {s}",
- .{ commit.date, commit.hash, commit.subject },
- );
- }
+ println("repo {s}: {d} commits", .{ entry.name, commits.len });
}
return 0;