Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Consider different log format #39

jrust opened this Issue May 3, 2012 · 2 comments


None yet
3 participants

jrust commented May 3, 2012

I think the following log format is more useful in an email because it adds bullet points and makes the changes more prominent than the sha1

  • Suprita Smith: Resolves #9 deploy:restart is needed [4dbdd9a]

Which can be accomplished with the following:

git log --no-color --pretty=format:'  * %an: %s (%h)' --abbrev-commit --no-merges HEAD^^^..HEAD

Obviously, another config option can be added for this but a good default makes it easier to have it work out of the box.


smith commented May 4, 2012

I like that.


justincampbell commented May 7, 2012

I don't like the bullets in a plaintext email, but I'm not opposed to them.

I don't think the name should be at the beginning. I care more about what changed than who changed it.

The sha at the end is fine.

Maybe something like:

  • This is a commit message (John Doe, abc1234)

* This is a commit message (John Doe, abc1234)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment