Skip to content

Commit bab2911

Browse files
Add a comment to help later
1 parent 2d519df commit bab2911

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

diff-so-fancy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ sub git_ansi_color {
890890
if (!@parts) {
891891
return '';
892892
}
893+
893894
my $colors = {
894895
'black' => 0,
895896
'red' => 1,
@@ -900,6 +901,8 @@ sub git_ansi_color {
900901
'cyan' => 6,
901902
'white' => 7,
902903
};
904+
905+
# Bright colors are just offsets from the "regular" color
903906
for my $k (keys %{ $colors }) {
904907
$colors->{"bright" . $k} = $colors->{$k} + 60;
905908
}

0 commit comments

Comments
 (0)