about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index ce63f7d4..028c2767 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -109,13 +109,13 @@ sub index_entry {
 
                 my $s = add_text_body_short($enc, $part, $part_nr, $fhref);
 
-                # keep signatures for now?  They shold usually be short,
-                # and sometimes footnotes/"P.S." appear there.
-
                 # drop the remainder of git patches, they're usually better
                 # to review when the full message is viewed
                 $s =~ s!^---\n.*\z!!ms and $more = 'more...';
 
+                # Drop signatures
+                $s =~ s/^-- \n.*\z//ms and $more = 'more...';
+
                 # kill any leading or trailing whitespace
                 $s =~ s/\A\s+//s;
                 $s =~ s/\s+\z//s;