]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/pretty-options.txt
Merge branch 'jk/pretty-encoding-doc'
[thirdparty/git.git] / Documentation / pretty-options.txt
index f384673c085b7277437294ed6b778f0dec0e93fa..642af6e42684602f5465fc3c61d83ca6309b34cb 100644 (file)
@@ -3,9 +3,13 @@
 
        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>'.  See
-       the "PRETTY FORMATS" section for some additional details for each
-       format.  When omitted, the format defaults to 'medium'.
+       'full', 'fuller', 'email', 'raw', 'format:<string>'
+       and 'tformat:<string>'.  When '<format>' is none of the above,
+       and has '%placeholder' in it, it acts as if
+       '--pretty=tformat:<format>' were given.
++
+See the "PRETTY FORMATS" section for some additional details for each
+format.  When '=<format>' part is omitted, it defaults to 'medium'.
 +
 Note: you can specify the default pretty format in the repository
 configuration (see linkgit:git-config[1]).