Clarify and correct -z
[gitweb.git] / Documentation / git-log.txt
index 93a2a227c4816720b82330aca1b8c3ab0245b1c1..3d79de11ec36d0212610a4bec68789bdeec6c1fe 100644 (file)
@@ -37,8 +37,16 @@ include::diff-options.txt[]
        and <until>, see "SPECIFYING REVISIONS" section in
        linkgit:git-rev-parse[1].
 
---decorate::
-       Print out the ref names of any commits that are shown.
+--decorate[=short|full]::
+       Print out the ref names of any commits that are shown. If 'short' is
+       specified, the ref name prefixes 'refs/heads/', 'refs/tags/' and
+       'refs/remotes/' will not be printed. If 'full' is specified, the
+       full ref name (including prefix) will be printed. The default option
+       is 'short'.
+
+--source::
+       Print out the ref name given on the command line by which each
+       commit was reached.
 
 --full-diff::
        Without this flag, "git log -p <path>..." shows commits that