Skip to content

Commit

Permalink
fix: interpret author literally, not as regex
Browse files Browse the repository at this point in the history
This helps when authors are bots with names like `dependabot[bot]`,
which otherwise don't match correctly.
  • Loading branch information
lukehsiao committed Oct 26, 2022
1 parent cfc9d47 commit c03d158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fn main() -> Result<()> {
for (commits, author) in shortlog {
let raw_stats = cmd!(
sh,
"git log --author={author} --pretty=tformat: --numstat {rev_range}"
"git log -F --author={author} --pretty=tformat: --numstat {rev_range}"
)
.read()?;
info!(
Expand Down

0 comments on commit c03d158

Please sign in to comment.