diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-15 18:03:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-15 18:03:44 -0400 |
commit | 0bf52484278b5afbc910a57d4842ed69f7c88222 (patch) | |
tree | dcdd6a16b8e61fae26eb3d1f750dc9316a728a97 | |
parent | 8a888a8fedd63622154865f0b67b3558879ae613 (diff) |
git: Skip over signed-off-by and similar lines in commit messages when generating recentchanges.
-rw-r--r-- | IkiWiki/Rcs/git.pm | 5 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 5668936dd..036900887 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -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"); diff --git a/debian/changelog b/debian/changelog index ca916bcd3..df09e91c5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 |