X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/28e72226f08f85a9e507564cc81ebd8342acbf04ae4d485b02b2617eb01380dd..347f4eb605fd50e3f5af322daf43fafea5bccf74356dc5077ea580e5a35ae59a:/gitweb.perl?ds=sidebyside
diff --git a/gitweb.perl b/gitweb.perl
index bf75e53..5b78db5 100755
--- a/gitweb.perl
+++ b/gitweb.perl
@@ -4802,7 +4802,7 @@ sub git_blame {
git_print_page_path($file_name, $ftype, $hash_base);
# page body
- my @rev_color = qw(light2 dark2);
+ my @rev_color = qw(light dark);
my $num_colors = scalar(@rev_color);
my $current_color = 0;
my %metainfo = ();
@@ -4856,6 +4856,14 @@ HTML
hash=>$full_rev,
file_name=>$file_name)},
esc_html($short_rev));
+ if ($group_size >= 2) {
+ my @author_initials = ($author =~ /\b([[:upper:]])\B/g);
+ if (@author_initials) {
+ print "
" .
+ esc_html(join('', @author_initials));
+ # or join('.', ...)
+ }
+ }
print "\n";
}
# 'previous'