]> Sergey Matveev's repositories - public-inbox.git/commit
view: actually omit subject text when dumping topics
authorKyle Meyer <kyle@kyleam.com>
Wed, 22 Apr 2020 01:33:59 +0000 (21:33 -0400)
committerEric Wong <e@yhbt.net>
Wed, 22 Apr 2020 07:02:27 +0000 (07:02 +0000)
commita45aef4d6415553dd1f6744770b00ea9033f58d7
tree80c14b442e654ec7436812db55df50ed461e4275
parente3124855ded54f9d9703bd7b72a584edb4422fbe
view: actually omit subject text when dumping topics

Despite dump_topics() calling dedupe_subject() on the subject, the
index shows partly duplicated subjects, for example

  ` [PATCH 2/2] t/www_listing: avoid 'once' warnings
    ` [PATCH v2] t/www_listing: avoid 'once' warnings "

In the second line, the omission character " is appended, but the
entire subject is shown.  To display the subject with duplicated parts
omitted, regenerate it from the array that is modified by
dedupe_subject().
lib/PublicInbox/View.pm