]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4013-diff-various.sh
log: add --clear-decorations option
authorDerrick Stolee <derrickstolee@github.com>
Fri, 5 Aug 2022 17:58:40 +0000 (17:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Aug 2022 21:13:12 +0000 (14:13 -0700)
commit748706d71365f419dad94cb7e54a31151c197218
tree9c94f58ca65d499e1ec0b9e44b4c061543150324
parent92156291ca82ae4f4ad09fde8181c5f2b7dba6ca
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>
Documentation/git-log.txt
builtin/log.c
t/t4013-diff-various.sh
t/t4013/diff.log_--decorate=full_--clear-decorations_--all [new file with mode: 0644]
t/t4013/diff.log_--decorate=full_--decorate-all_--all [new file with mode: 0644]
t/t4013/diff.log_--decorate_--clear-decorations_--all [new file with mode: 0644]
t/t4013/diff.log_--decorate_--decorate-all_--all [new file with mode: 0644]
t/t4202-log.sh