X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-options.txt;h=bff94991b68aaca5a81eae4e6681f3431aa6b9ac;hb=7d40f89137b456820d51ebc1cbb3ffbb966e7fec;hp=6d66c74cc11e6622892061f8328d04dfe38f87bf;hpb=92798702cf6d201f80e257a07d0a0c40565c79fe;p=git.git diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt index 6d66c74cc..bff94991b 100644 --- a/Documentation/pretty-options.txt +++ b/Documentation/pretty-options.txt @@ -1,4 +1,5 @@ --pretty[='']:: +--format[='']:: Pretty-print the contents of the commit logs in a given format, where '' can be one of 'oneline', 'short', 'medium', @@ -10,13 +11,17 @@ 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 + name, show only a partial 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. +--oneline:: + This is a shorthand for "--pretty=oneline --abbrev-commit" + used together. + --encoding[=]:: The commit objects record the encoding used for the log message in their encoding header; this option can be used to tell the