X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-options.txt;h=973d8dd733f954abf93aac7c68efef1154e9f315;hb=dc3e3ea3c838c1ddf7423401b4cf7a7dba528cff;hp=7d515be0fd3b89d602ac2919fd2ea3dd4bc84131;hpb=03f6db0ec058ca1d34672a3100293c3bf56c3b6b;p=git.git diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt index 7d515be0f..973d8dd73 100644 --- a/Documentation/pretty-options.txt +++ b/Documentation/pretty-options.txt @@ -1,9 +1,18 @@ --pretty[='']:: - 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 '' can be one of 'oneline', 'short', 'medium', 'full', 'fuller', 'email', 'raw' and 'format:'. - 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=" (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[=]:: The commit objects record the encoding used for the log message @@ -11,4 +20,3 @@ command to re-code the commit log message in the encoding preferred by the user. For non plumbing commands this defaults to UTF-8. -