]> granicus.if.org Git - neomutt/commit
Skip sort in mbox_sync_mailbox() when new/reopen occurs
authorKevin McCarthy <kevin@8t8.us>
Wed, 25 Jul 2018 01:23:25 +0000 (18:23 -0700)
committerRichard Russon <rich@flatcap.org>
Sat, 1 Sep 2018 17:06:08 +0000 (18:06 +0100)
commitdbb7c077f63aa21dca8f64d74bc85f65660cdc23
tree52ec0de9d43faffda9667e353359e9ad4caa552e
parent2ddae452ed8dc01ad3eea5fee8f254b60aee5983
Skip sort in mbox_sync_mailbox() when new/reopen occurs

Callers of mx_sync_mailbox() and mx_close_mailbox() already check for
those cases and call update_index().  So remove the need_sort flag
setting when mbox_check_mailbox() returns new/reopen inside
mbox_sync_mailbox().
mbox/mbox.c