about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-09-22 18:58:57 +0000
committerEric Wong <e@80x24.org>2014-09-22 18:58:57 +0000
commit933344a0f9362a806f2e92fcfab95d7a09677f68 (patch)
tree4bd071064341580de7477663140dd9dc67585b43 /lib
parente925ee9eacaac438c87471bda8c28d5edff7523e (diff)
downloadpublic-inbox-933344a0f9362a806f2e92fcfab95d7a09677f68.tar.gz
Often times any succession of "---" denotes the rest of the
message is too long to review at once.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 028c2767..3860d6e4 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -111,7 +111,7 @@ sub index_entry {
 
                 # 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...';
+                $s =~ s!^---+\n.*\z!!ms and $more = 'more...';
 
                 # Drop signatures
                 $s =~ s/^-- \n.*\z//ms and $more = 'more...';