X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/dfbd146ac6efe32127e8a2b0da341f32b4e79c1af0cbe1be2483cb2fe7801adc..b7017eb3c868e9ac20e5b105f265487e520a66989f6daea731bdb4a9618551ae:/gitweb.cgi?ds=sidebyside diff --git a/gitweb.cgi b/gitweb.cgi index ca8a2ee..c5b6209 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -1281,9 +1281,11 @@ sub git_blame2 { $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$hash_base"), -class => "title"}, esc_html($co{'title'})) . "\n"; git_print_page_path($file_name, $ftype); - + my @rev_color = (qw(light dark)); + my $num_colors = scalar(@rev_color); + my $current_color = 0; + my $last_rev; print "
| Commit | Line | Data |
|---|---|---|
| " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$full_rev;f=$file_name")}, esc_html($rev)) . " | \n"; print "" . esc_html($lineno) . " | \n"; @@ -1302,7 +1310,6 @@ sub git_blame2 { } print "