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