mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
d8b4101eae
In method _parse the value of this variable 'have_fg ' is always False, Maybe reassign it to True is lost. I guess the author’s original intention was: if set some value in gitconfig file(for ex: text = black red ul), the first is bg color, the second is fg color, and the last one is attr. Change-Id: I372698fe625db4c1fdaa94ea7f193a80a850ecb9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/425997 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Bright Ma <mmh1989@foxmail.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
22 lines
291 B
Plaintext
22 lines
291 B
Plaintext
[section]
|
|
empty
|
|
nonempty = true
|
|
boolinvalid = oops
|
|
booltrue = true
|
|
boolfalse = false
|
|
intinvalid = oops
|
|
inthex = 0x10
|
|
inthexk = 0x10k
|
|
int = 10
|
|
intk = 10k
|
|
intm = 10m
|
|
intg = 10g
|
|
|
|
[color "status"]
|
|
one = yellow
|
|
two = magenta cyan
|
|
three = black red ul
|
|
reset = reset
|
|
none
|
|
empty =
|