diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-08-05 20:58:35 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-06 00:13:11 +0300 |
commit | 5797b13919f8073108e58ab5cea39f4e6bbfa1c9 (patch) | |
tree | f1d00da4c624380abafc3d1e25e9fc2667aecd34 /t/t5521-pull-options.sh | |
parent | b004521aa6f935fecd1426cab2997f7f8b31dcab (diff) |
t4207: test coloring of grafted decorations
The color.decorate.<slot> config option added the 'grafted' slot in
09c4ba410b0f (log-tree: allow to customize 'grafted' color, 2018-05-26)
but included no tests for this behavior. When modifying some logic
around decorations, this ref namespace was ignored and could have been
lost as a default namespace for 'git log' decorations by default.
Add two tests to t4207 that check that the replaced objects are
correctly decorated. Use "black" as the color since it is distinct from
the other colors already in the test. The first test uses regular
replace-objects while the second creates a commit graft.
Be sure to test both modes with GIT_REPLACE_REF_BASE unset and set to an
alternative base.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5521-pull-options.sh')
0 files changed, 0 insertions, 0 deletions