bat's gitllog
language-colorization is slightly confused by git log --decorate=[short|full]
output
#1632
Labels
gitllog
language-colorization is slightly confused by git log --decorate=[short|full]
output
#1632
Describe the bug you encountered:
If I pipe the output of
git log
through bat as follows, eachcommit
line is properly colored:If, however, I tell git to decorate the log using the
--decorate
flag, any commit lines sporting a ref appear in plain white, with no coloring.What did you expect to happen instead?
I expected the
commit
text, and the hash, to be colored as they are for ref-free commits; I would like for the "HEAD", "master", and origin refs to be colored as they are in regulargit log
output.How did you install
bat
?Via Homebrrew.
bat version and environment
Software version
bat 0.18.0
Operating system
Darwin 20.4.0
Command-line
Environment variables
Config file
Compile time information
Less version
P.S.
Incidentally, thanks! I absolutely love, and am grateful for,
bat
— both because it deals gracefully with nearly all of the situations I've thrown at it, and because its atomic-binary nature means I can easily copy it to systems I don't have root access to. Cheers!The text was updated successfully, but these errors were encountered: