Skip to content
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

Hide the name of the signer in a signed commit #11

Open
oguya opened this issue Feb 26, 2015 · 2 comments
Open

Hide the name of the signer in a signed commit #11

oguya opened this issue Feb 26, 2015 · 2 comments

Comments

@oguya
Copy link

oguya commented Feb 26, 2015

Only show the subject(%s) instead of raw body(%B) of the commit message

  • show the raw body of the commit message:
$ git log -2 --pretty=format:%B
Add gzip compression level in nginx.conf

Signed-off-by: John Doe <[email protected]>
  • show the subject of the commit message:
$ git log -1 --pretty=format:%s                                                                                                                                            
Remove redundant tag in tasks/nginx_Ubuntu.yml
@jsomers
Copy link
Owner

jsomers commented Feb 28, 2015

@oguya I'm a little confused by the examples, since they seem to be from different commits. Is the idea that in the case of signed commits only, we should show the subject instead of the raw body?

Thanks

@oguya
Copy link
Author

oguya commented Mar 3, 2015

Yes, I think you should just show the subject(%s) instead of the raw body(%B) because the raw body of signed commits contain the name of the author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants