2 次代码提交 912e0fe081 ... 5ef370dd6d

作者 SHA1 备注 提交日期
  Jan Krüger 5ef370dd6d plugins/graph: .gitgraph: support commit colouring 2 月之前
  Jan Krüger 912e0fe081 plugins/graph: .gitgraph: support commit colouring 2 月之前
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/graph.pm

+ 1 - 1
plugins/graph.pm

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