From: Austin Clements Date: Sat, 4 Feb 2012 21:24:26 +0000 (-0500) Subject: show: Simplify new text formatter code X-Git-Tag: debian/0.12_rc1-1~95 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=c0cd09041208abb6d641279c9ae453e6f2fdf4db;hp=c0cd09041208abb6d641279c9ae453e6f2fdf4db;p=notmuch show: Simplify new text formatter code 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. ---