summaryrefslogtreecommitdiffstats
path: root/pretty-formats.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-03-06 08:21:09 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-03-06 08:21:09 +0000
commit0a23522474e120e244e3082ebee15365db20367a (patch)
tree7d92d7744bbe3d57103f64f3b3a4cd16ba9fe55e /pretty-formats.txt
parent36ac993d398d38a097e0c36200f1399aafa6f06c (diff)
downloadgit-htmldocs-0a23522474e120e244e3082ebee15365db20367a.tar.gz
Autogenerated HTML docs for v1.6.2-77-g8cc3f
Diffstat (limited to 'pretty-formats.txt')
-rw-r--r--pretty-formats.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/pretty-formats.txt b/pretty-formats.txt
index 159390c35..5c6e678aa 100644
--- a/pretty-formats.txt
+++ b/pretty-formats.txt
@@ -152,3 +152,12 @@ $ git log -2 --pretty=tformat:%h 4da45bef \
4da45be
7134973
---------------------
++
+In addition, any unrecognized string that has a `%` in it is interpreted
+as if it has `tformat:` in front of it. For example, these two are
+equivalent:
++
+---------------------
+$ git log -2 --pretty=tformat:%h 4da45bef
+$ git log -2 --pretty=%h 4da45bef
+---------------------