mail.sh: support hooks.reverseorder for show_new_revisions
commitad5974acd67cbd57ca97deccf01cb7b091bfa845
authorKyle J. McKay <mackyle@gmail.com>
Wed, 24 Aug 2016 02:52:05 +0000 (23 19:52 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 24 Aug 2016 02:52:05 +0000 (23 19:52 -0700)
treef9688b854a3a5af63fa957309db059709b84e495
parent183df9e87cdeec1cad94ee8a31527ee20bd975cb
mail.sh: support hooks.reverseorder for show_new_revisions

By default new revisions are shown in Git's standard newest to oldest
order.  When reading log messages that refer to changes made in older
commits this requires reading the notification email from back-to-front
in order to make sense of such things.

Provide a "hooks.reverseorder" option so that new revisions can be shown
in oldest to newest order instead in order to provide a more natural
reading experience when viewing notification emails.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/mail.sh