git rev-list formatting
- From
Eli Barzilay <eli@barzilay.org>
- Date
- Mar 22, 2010, 11:30 UTC
- Message-ID
- <m3iq8opp8u.fsf@winooski.ccs.neu.edu>
Possible bug -- IIUC, this:
git rev-list --pretty="%w(40,2,2)%b" $rev
should show all bodies wrapped as specified, but with 1.7.0.3 I see only the first one wrapped, and the rest don't show up. In one of my attempts to sort this, I saw all bodies, but all bodies after the first were not wrapped as specified.
Also, is there a way to avoid the "commit <sha1>" line, print some information that I specify in the format string, and show the whole message as is (without wrapping or other tweaks)?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!