add git::git_log_oldest_author_timestamp(), saves us one git log
This cuts about 30% off the time to read the issues from entomologist-data.
This commit is contained in:
parent
def729d43a
commit
c15736259c
2 changed files with 41 additions and 2 deletions
|
|
@ -166,8 +166,7 @@ impl Issue {
|
|||
Err(IssueError::IdError)?
|
||||
};
|
||||
|
||||
let author = crate::git::git_log_oldest_author(dir)?;
|
||||
let creation_time = crate::git::git_log_oldest_timestamp(dir)?;
|
||||
let (author, creation_time) = crate::git::git_log_oldest_author_timestamp(dir)?;
|
||||
|
||||
Ok(Self {
|
||||
id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue