On Wed, 7 Feb 2007, Linus Torvalds wrote:
git log --pretty -z |
Gaah. If all you want is normal logs, you don't need the "--pretty",
of course, since that's the default. Just "git log -z" will give you
zero-terminated logs.
But if you want to grep on committer, you'd need to use "--pretty=full" or
something, of course, so the "--pretty=xyz" thing is indeed often
applicable for things like this.
Also, I just checked, and we have a bug. Merges do not have the ending
zero in "git log -z" output. It seems to be connected to the fact that we
handle the "always_show_header" commits differently (the ones that we
wouldn't normally show because they have no diffs associated with them).
The obvious fix for that failed. I'll look at it some more.
Linus