blob: 973d8dd733f954abf93aac7c68efef1154e9f315 [file] [log] [blame]
Junio C Hamano0430e3a2007-05-15 03:13:171--pretty[='<format>']::
2
Junio C Hamanoa3770f92007-07-25 08:53:333Pretty-print the contents of the commit logs in a given format,
Junio C Hamano0430e3a2007-05-15 03:13:174where '<format>' can be one of 'oneline', 'short', 'medium',
5'full', 'fuller', 'email', 'raw' and 'format:<string>'.
Junio C Hamanoa3770f92007-07-25 08:53:336When omitted, the format defaults to 'medium'.
Junio C Hamano0430e3a2007-05-15 03:13:177
Junio C Hamanoee695f22007-06-21 00:35:368--abbrev-commit::
9Instead of showing the full 40-byte hexadecimal commit object
10name, show only handful hexdigits prefix. Non default number of
11digits can be specified with "--abbrev=<n>" (which also modifies
12diff output, if it is displayed).
13+
14This should make "--pretty=oneline" a whole lot more readable for
15people using 80-column terminals.
16
Junio C Hamano0430e3a2007-05-15 03:13:1717--encoding[=<encoding>]::
18The commit objects record the encoding used for the log message
19in their encoding header; this option can be used to tell the
20command to re-code the commit log message in the encoding
21preferred by the user. For non plumbing commands this
22defaults to UTF-8.