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