X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-options.txt;h=6d66c74cc11e6622892061f8328d04dfe38f87bf;hb=6c41b80153a2e4ee347d0e968ee8d0d9abfc8862;hp=6338def5a795a8171286626752a96f8ac88842c8;hpb=9bfe9f80b1f57dd5bd63c94516fb8aa820fef1cd;p=git.git diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt index 6338def5a..6d66c74cc 100644 --- a/Documentation/pretty-options.txt +++ b/Documentation/pretty-options.txt @@ -1,9 +1,21 @@ --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'. ++ +Note: you can specify the default pretty format in the repository +configuration (see linkgit:git-config[1]). + +--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