diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-08-05 20:58:40 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-06 00:13:12 +0300 |
commit | 748706d71365f419dad94cb7e54a31151c197218 (patch) | |
tree | 9c94f58ca65d499e1ec0b9e44b4c061543150324 /t/t4013-diff-various.sh | |
parent | 92156291ca82ae4f4ad09fde8181c5f2b7dba6ca (diff) |
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 't/t4013-diff-various.sh')
-rwxr-xr-x | t/t4013-diff-various.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t4013-diff-various.sh b/t/t4013-diff-various.sh index 056e922164..dfcf3a0aaa 100755 --- a/t/t4013-diff-various.sh +++ b/t/t4013-diff-various.sh @@ -352,6 +352,8 @@ log -GF -p --pickaxe-all master log -IA -IB -I1 -I2 -p master log --decorate --all log --decorate=full --all +log --decorate --clear-decorations --all +log --decorate=full --clear-decorations --all rev-list --parents HEAD rev-list --children HEAD |