djcb/mu — pull request #7 by tofumanchu (2012-03-18 06:56:44+00:00)
Title: Fix handling of recursive maildirs that start with the letter 'n' or 'c'

When a you have a maildir layout such as:

Mail/
|__ coolio
|__ inbox
|__cur
|__new
|__tmp

The indexer improperly identifies the maildir as //inbox, which in turn causes move operations to fail as //inbox is not a proper suffix of the previous maildir. This patch fixes the logic for detecting "cur" and "new" in get_mdir_for_path.