]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-log.txt
log: add default decoration filter
[thirdparty/git.git] / Documentation / git-log.txt
index 20e87cecf4917fdbb18c2ffe675a1b2d9e4c3177..b2ac89dfafc9f7a1dcfa435b15c30d5f492e3717 100644 (file)
@@ -45,13 +45,16 @@ OPTIONS
 
 --decorate-refs=<pattern>::
 --decorate-refs-exclude=<pattern>::
-       If no `--decorate-refs` is given, pretend as if all refs were
-       included.  For each candidate, do not use it for decoration if it
+       For each candidate reference, do not use it for decoration if it
        matches any patterns given to `--decorate-refs-exclude` or if it
        doesn't match any of the patterns given to `--decorate-refs`. The
        `log.excludeDecoration` config option allows excluding refs from
        the decorations, but an explicit `--decorate-refs` pattern will
        override a match in `log.excludeDecoration`.
++
+If none of these options or config settings are given, then references are
+used as decoration if they match `HEAD`, `refs/heads/`, `refs/remotes/`,
+`refs/stash/`, or `refs/tags/`.
 
 --source::
        Print out the ref name given on the command line by which each