Skip to content

Commit 65da5be

Browse files
committedMar 30, 2022
fix commit count
1 parent 0652bbe commit 65da5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/info/repo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ impl<'a> Repo<'a> {
9090
.object()
9191
.expect("commit is still present/comes from cache")
9292
.into_commit();
93-
num_commits += 1;
9493
{
9594
let commit = commit.decode()?;
9695
if no_merges && commit.parents().take(2).count() > 1 {
@@ -100,6 +99,7 @@ impl<'a> Repo<'a> {
10099
if is_bot(commit.author, bot_regex_pattern) {
101100
continue;
102101
}
102+
num_commits += 1;
103103

104104
let author_nbr_of_commits = author_to_number_of_commits
105105
.entry(Sig::from(mailmap.resolve(commit.author)))

0 commit comments

Comments
 (0)
Please sign in to comment.