diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-08-05 17:58:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-05 14:13:12 -0700 |
commit | 748706d71365f419dad94cb7e54a31151c197218 (patch) | |
tree | 9c94f58ca65d499e1ec0b9e44b4c061543150324 /Documentation/git-log.txt | |
parent | 92156291ca82ae4f4ad09fde8181c5f2b7dba6ca (diff) | |
download | git-748706d71365f419dad94cb7e54a31151c197218.tar.gz |
log: add --clear-decorations option
The previous changes introduced a new default ref filter for decorations
in the 'git log' command. This can be overridden using
--decorate-refs=HEAD and --decorate-refs=refs/, but that is cumbersome
for users.
Instead, add a --clear-decorations option that resets all previous
filters to a blank filter that accepts all refs.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r-- | Documentation/git-log.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index b2ac89dfaf..f2ce16fba7 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -56,6 +56,11 @@ 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. + --source:: Print out the ref name given on the command line by which each commit was reached. |