-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support
--author
flag for git-shortlog
This patch adds support for `--author`, which passes the values straight to `git-shortlog` [[1]]. Sometimes, it is useful to filter the shortlog by authors. In the past, people might do this by piping the output of `git-stats` to `grep` or similar. However, with the introduction of the Totals line, that line becomes inaccurate. This way, they can still get an accurate Total by filtering with `git` directly. This can be useful, for example, for filtering out automated commits (e.g., dependabot) or non-company contributors. [1]: https://git-scm.com/docs/git-shortlog
- Loading branch information
Showing
2 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters