From 49fb01178cb6bde606ce9aa1b2879eab1a87ebf9 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 21 Nov 2023 03:24:59 +0100 Subject: [PATCH] fix: don't print --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 653b712..d780e95 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,9 +19,7 @@ fn main() { Err(e) => eprintln!("could not revwalk: {}", e), Ok(oid) => { let commit = repo.find_commit(oid).unwrap(); - let id_txt = commit.id().to_string()[0..8].to_string(); let time = DateTime::from_timestamp(commit.time().seconds(), 0).unwrap(); - println!(" * {}: {}\t -- {}", id_txt, commit.summary().unwrap_or(""), author_display(&commit, true)); store.insert(oid, (time, commit)); }, }