pretty_print_commit: add different formats
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 5 Jun 2005 16:02:03 +0000 (09:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 5 Jun 2005 16:02:03 +0000 (09:02 -0700)
commit000182eacf99cde27d5916aa415921924b82972c
tree327229c4f38080e07424e752fa16dd2c8a915973
parent848b292e835f10b0f859b22415be6e3fa951c55e
pretty_print_commit: add different formats

You can ask to print out "raw" format (full headers, full body),
"medium" format (author and date, full body) or "short" format
(author only, condensed body).

Use "git-rev-list --pretty=short HEAD | less -S" for an example.
commit.c
commit.h
diff-tree.c
rev-list.c