summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-05-01 20:39:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-01 20:39:56 (GMT)
commit49349e988318d4bdf89b8c9a03916533bede4b8b (patch)
tree396aecb1c7ad8cc6b545bb9835d0c66a48441486
parent29d74275c44c1636acabdb5a3822c3872ebf43de (diff)
parent4d9378bfad4a283d5e06fbbeba80b5db6be73bc4 (diff)
downloadgit-49349e988318d4bdf89b8c9a03916533bede4b8b.zip
git-49349e988318d4bdf89b8c9a03916533bede4b8b.tar.gz
git-49349e988318d4bdf89b8c9a03916533bede4b8b.tar.bz2
Merge branch 'eb/gitweb-more-trailers'
Gitweb updates. * eb/gitweb-more-trailers: gitweb: Recognize *-to and Closes/Fixes trailers
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 1a02a12..0959a78 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -4641,7 +4641,7 @@ sub git_print_log {
# print log
my $skip_blank_line = 0;
foreach my $line (@$log) {
- if ($line =~ m/^\s*([A-Z][-A-Za-z]*-[Bb]y|C[Cc]): /) {
+ if ($line =~ m/^\s*([A-Z][-A-Za-z]*-([Bb]y|[Tt]o)|C[Cc]|(Clos|Fix)es): /) {
if (! $opts{'-remove_signoff'}) {
print "<span class=\"signoff\">" . esc_html($line) . "</span><br/>\n";
$skip_blank_line = 1;