On Wed, 20 Aug 2008, Jeff King wrote:
Previously, specifying
git log --pretty=format:'%H %s' --decorate
would calculate decorations, but not show them. You can now
do:
git log --pretty=format:'%H (%d) %s' --decorate
to see them.
Wow that was fast! Thanks for the help.
For those who care:
I use it in a script to extract the log title of commits between certain
tags. And to compile a simple log history of what has changed between
tags. It was a bit more tricky than I initially thought it would be,
because of merges. So what I do basically is to do a git log A..B
where A and B are two of the tags I found using --decorate. My problem
was that my script got confused when I had braces in the log title. That was
why I wanted to use format in the first place. I know there is a web
interface to git which probably does all that, but I wanted to compile an as
simple as possible text file.
Cheers,
Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html