git: Skip over signed-off-by and similar lines in commit messages when generating recentchanges.
parent
8a888a8fed
commit
0bf5248427
|
@ -383,7 +383,10 @@ sub rcs_recentchanges ($) { #{{{
|
|||
diffurl => $diffurl,
|
||||
};
|
||||
}
|
||||
push @messages, { line => $_ } foreach @{$ci->{'comment'}};
|
||||
|
||||
push @messages, { line => $_ } foreach grep {
|
||||
! m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i
|
||||
} @{$ci->{'comment'}};
|
||||
|
||||
my ($user, $type) = (q{}, "web");
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@ ikiwiki (2.47) UNRELEASED; urgency=low
|
|||
an orphaned page.
|
||||
* inline: Display a message if the 'pages' parameter is missing, before
|
||||
it just expanded to nothing.
|
||||
* git: Skip over signed-off-by and similar lines in commit messages
|
||||
when generating recentchanges.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 13 May 2008 12:30:18 -0400
|
||||
|
||||
|
|
Loading…
Reference in New Issue