diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-08-30 10:58:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-30 10:58:50 -0700 |
commit | 594d2d454755bedd85c5bcb9fb5dc59990592087 (patch) | |
tree | 0bd89a2d31c11cbb29323b46057b741ef26e7139 /git-log.txt | |
parent | 4155e41e0e67c0ac9309aa68dfc46bd49902ebd2 (diff) | |
download | git-htmldocs-594d2d454755bedd85c5bcb9fb5dc59990592087.tar.gz |
Autogenerated HTML docs for v2.37.3-446-gd42b38
Diffstat (limited to 'git-log.txt')
-rw-r--r-- | git-log.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/git-log.txt b/git-log.txt index 20e87cecf..b1285aee3 100644 --- a/git-log.txt +++ b/git-log.txt @@ -45,13 +45,23 @@ 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/`. + +--clear-decorations:: + When specified, this option clears all previous `--decorate-refs` + or `--decorate-refs-exclude` options and relaxes the default + decoration filter to include all references. This option is + assumed if the config value `log.initialDecorationSet` is set to + `all`. --source:: Print out the ref name given on the command line by which each |