]> git.notmuchmail.org Git - notmuch/commit
notmuch part: Fix part numbering to match what's reported by "notmuch show"
authorCarl Worth <cworth@cworth.org>
Mon, 23 May 2011 21:27:23 +0000 (14:27 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 23 May 2011 21:27:23 +0000 (14:27 -0700)
commit02ec2e420c36957fbd903c424b69a9690b400671
tree3df9812576345386b1881b1c59872f64c898c291
parentdcdb8430945e6323d78997ce47639eebc683c6d3
notmuch part: Fix part numbering to match what's reported by "notmuch show"

Since commit c51d5b3cdb5ca0816816e88ca6f7136a24e74eee we are counting
multipart containers when emitting part numbers in the "notmuch show"
output. Unfortunately, "notmuch part" wasn't updated with the same
numbering, (and the test suite is inadequate to catch this).

Fix this by adding a similar part-numbering change to "notmuch part" here.
show-message.c