|
@@ -246,7 +246,7 @@ my $gitgraph = sub {
|
|
$branch_node->($arg, $id);
|
|
$branch_node->($arg, $id);
|
|
} elsif ($cmd =~ /^c(olou?r)?$/) {
|
|
} elsif ($cmd =~ /^c(olou?r)?$/) {
|
|
my $arg = $getident->($_[0]) or return $fail->("missing color name: ". $mark->($bkup, $_[0]));
|
|
my $arg = $getident->($_[0]) or return $fail->("missing color name: ". $mark->($bkup, $_[0]));
|
|
- $arg = $parsecolor->($arg) or return $fail->("invalid color name '$arg': ". $mark->($bkup, $_[0]));
|
|
|
|
|
|
+ $arg = $parsecolor->($arg) or return $fail->("invalid color name: ". $mark->($bkup, $_[0]));
|
|
$commit->{custom_color} = $arg;
|
|
$commit->{custom_color} = $arg;
|
|
} elsif ($cmd =~ /^l(abel)?$/) {
|
|
} elsif ($cmd =~ /^l(abel)?$/) {
|
|
my $arg = $getstr->($_[0]) or return $fail->("missing label string: ". $mark->($bkup, $_[0]));
|
|
my $arg = $getstr->($_[0]) or return $fail->("missing label string: ". $mark->($bkup, $_[0]));
|