pretty-options.txt: tiny doc fix
[git/git.git] / Documentation / pretty-options.txt
1 --pretty[='<format>']::
3 Pretty-print the contents of the commit logs in a given format,
4 where '<format>' can be one of 'oneline', 'short', 'medium',
5 'full', 'fuller', 'email', 'raw' and 'format:<string>'.
6 When omitted, the format defaults to 'medium'.
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.
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.