[PATCH 2/2] show: Simplify new text formatter code

Tomi Ollila tomi.ollila at iki.fi
Mon Jan 30 06:59:54 PST 2012


On Thu, 26 Jan 2012 01:55:26 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> This makes the text formatter take advantage of the new code
> structure.  The previously duplicated header logic is now unified,
> several things that we used to compute repeatedly across different
> callbacks are now computed once, and the code is simpler overall and
> 32% shorter.
> 
> Unifying the header logic causes this to format some dates slightly
> differently, so the two affected test cases are updated.
> ---

Looks good, works fine.


Tomi


More information about the notmuch mailing list