pretty-options.txt: tiny doc fix
[git/git.git] / Documentation / pretty-options.txt
CommitLineData
331b51d2
JN
1--pretty[='<format>']::
2
1c911dc8 3 Pretty-print the contents of the commit logs in a given format,
331b51d2
JN
4 where '<format>' can be one of 'oneline', 'short', 'medium',
5 'full', 'fuller', 'email', 'raw' and 'format:<string>'.
1c911dc8 6 When omitted, the format defaults to 'medium'.
331b51d2 7
13120fdc
JN
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+
14This should make "--pretty=oneline" a whole lot more readable for
15people using 80-column terminals.
16
331b51d2
JN
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.