]> Sergey Matveev's repositories - public-inbox.git/commit
feed: sort child messages (forward) chronologically
authorEric Wong <e@80x24.org>
Sun, 7 Sep 2014 22:53:15 +0000 (22:53 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Sep 2014 22:57:58 +0000 (22:57 +0000)
commit5074cb81a375a3ee57c5c3c57a9a2298c76a698f
tree9432f37bbe06dea1e3c79167028fc34007bc4130
parent09162c93f979e19b23e913fa9ef0deebec146e2f
feed: sort child messages (forward) chronologically

Only root messages should be sorted in reverse chronological order,
child messages should be chronological.  This gives precedence to
_topics_, but also for initial replies.

This improves readability when several messages appear at the same
nesting level, and helps git patch series' appear correctly as:

[PATCH 0/3] ...
[PATCH 1/3] ...
[PATCH 2/3] ...
[PATCH 3/3] ...

Instead of (what it was previously):

[PATCH 0/3] ...
[PATCH 3/3] ...
[PATCH 2/3] ...
[PATCH 1/3] ...
lib/PublicInbox/Feed.pm