-
Notifications
You must be signed in to change notification settings - Fork 286
Add CLI option for displaying author emails #452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In order to display emails of authors, users can enable `email` cli flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR!
I left some suggestions about code style, which I believe would be necessary to pass the format check in the CI.
Also, looks like your commits aren't getting mapped to your GitHub account. Probably an email mismatch. Do you need to amend the commit author? Not a big deal, but I wouldn't want for you to not get credit for your work 🙂 |
Changed type of author to contain `Option<String>`. This field is initialized when the email cli flag is set. If the email is Some() it is formatted together with the username and displayed.
Co-authored-by: Spenser Black <[email protected]>
Co-authored-by: Spenser Black <[email protected]>
Thanks a bunch for the suggestions! Will be more careful regarding formatting and tab-size in the future.
Oops! I fixed my git settings, but no need to amend them for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! Looks like there's one more change to pass the formatting check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
feature request, closes #451