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);
 				$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]));