Code

add storage size output to 'git verify-pack -v'
[git.git] / Documentation / pretty-options.txt
index 6338def5a795a8171286626752a96f8ac88842c8..973d8dd733f954abf93aac7c68efef1154e9f315 100644 (file)
@@ -1,9 +1,18 @@
 --pretty[='<format>']::
 
-       Pretty print the contents of the commit logs in a given format,
+       Pretty-print the contents of the commit logs in a given format,
        where '<format>' can be one of 'oneline', 'short', 'medium',
        'full', 'fuller', 'email', 'raw' and 'format:<string>'.
-       When left out the format default to 'medium'.
+       When omitted, the format defaults to 'medium'.
+
+--abbrev-commit::
+       Instead of showing the full 40-byte hexadecimal commit object
+       name, show only handful hexdigits prefix.  Non default number of
+       digits can be specified with "--abbrev=<n>" (which also modifies
+       diff output, if it is displayed).
++
+This should make "--pretty=oneline" a whole lot more readable for
+people using 80-column terminals.
 
 --encoding[=<encoding>]::
        The commit objects record the encoding used for the log message