mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
![Derrick Stolee](/assets/img/avatar_default.png)
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>
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
$ git log --decorate=full --decorate-all --all
|
|
commit b7e0bc69303b488b47deca799a7d723971dfa6cd (refs/heads/mode)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:06:00 2006 +0000
|
|
|
|
update mode
|
|
|
|
commit a6f364368ca320bc5a92e18912e16fa6b3dff598 (refs/heads/note)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:06:00 2006 +0000
|
|
|
|
update mode (file2)
|
|
|
|
Notes:
|
|
note
|
|
|
|
commit cd4e72fd96faed3f0ba949dc42967430374e2290 (refs/heads/rearrange)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:06:00 2006 +0000
|
|
|
|
Rearranged lines in dir/sub
|
|
|
|
commit cbacedd14cb8b89255a2c02b59e77a2e9a8021a0 (refs/notes/commits)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:06:00 2006 +0000
|
|
|
|
Notes added by 'git notes add'
|
|
|
|
commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (HEAD -> refs/heads/master)
|
|
Merge: 9a6d494 c7a2ab9
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:04:00 2006 +0000
|
|
|
|
Merge branch 'side'
|
|
|
|
commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a (refs/heads/side)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:03:00 2006 +0000
|
|
|
|
Side
|
|
|
|
commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:02:00 2006 +0000
|
|
|
|
Third
|
|
|
|
commit 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:01:00 2006 +0000
|
|
|
|
Second
|
|
|
|
This is the second commit.
|
|
|
|
commit 444ac553ac7612cc88969031b02b3767fb8a353a (refs/heads/initial)
|
|
Author: A U Thor <author@example.com>
|
|
Date: Mon Jun 26 00:00:00 2006 +0000
|
|
|
|
Initial
|
|
$
|