log template: make root commit green instead of bright green

Bright green really pops on my screen, and I don't think there is a reason
for the root commit to be attention-grabbing.

This follows up on https://github.com/martinvonz/jj/pull/2084.
This commit is contained in:
Ilya Grigoriev 2023-08-15 18:17:15 -07:00
parent 4c3265477b
commit 863f1760f9
2 changed files with 5 additions and 5 deletions

View file

@ -33,7 +33,7 @@
"conflict" = "red"
"empty" = "green"
"separator" = "bright black"
"root" = {fg = "bright green", bold = true}
"root" = "green"
"working_copy" = { bold = true }
"working_copy commit_id" = "bright blue"

View file

@ -138,7 +138,7 @@ fn test_log_default() {
(empty) description 1
qpvuntsm test.user@example.com 2001-02-03 04:05:08.000 +07:00 4291e264
add a file
zzzzzzzz root 00000000
zzzzzzzz root 00000000
"###);
// Color without graph
@ -148,7 +148,7 @@ fn test_log_default() {
(empty) description 1
qpvuntsm test.user@example.com 2001-02-03 04:05:08.000 +07:00 4291e264
add a file
zzzzzzzz root 00000000
zzzzzzzz root 00000000
"###);
}
@ -233,7 +233,7 @@ fn test_log_obslog_divergence() {
description 2
@ qpvuntsm?? test.user@example.com 2001-02-03 04:05:08.000 +07:00 7a17d52e
description 1
zzzzzzzz root 00000000
zzzzzzzz root 00000000
"###);
// Obslog and hidden divergent
@ -274,7 +274,7 @@ fn test_log_git_head() {
initial
qpvuntsm test.user@example.com 2001-02-03 04:05:07.000 +07:00 master HEAD@git 230dd059
(empty) (no description set)
zzzzzzzz root 00000000
zzzzzzzz root 00000000
"###);
}