fix: don't print
This commit is contained in:
parent
ce4174d1fa
commit
49fb01178c
1 changed files with 0 additions and 2 deletions
|
@ -19,9 +19,7 @@ fn main() {
|
||||||
Err(e) => eprintln!("could not revwalk: {}", e),
|
Err(e) => eprintln!("could not revwalk: {}", e),
|
||||||
Ok(oid) => {
|
Ok(oid) => {
|
||||||
let commit = repo.find_commit(oid).unwrap();
|
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();
|
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));
|
store.insert(oid, (time, commit));
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue