fix: don't print

This commit is contained in:
əlemi 2023-11-21 03:24:59 +01:00
parent ce4174d1fa
commit 49fb01178c
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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));
},
}