unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v3 0/4] cli: notmuch tag/restore refactoring
@ 2012-03-26 21:04 Jani Nikula
  2012-03-26 21:04 ` [PATCH v3 1/4] test: add test for both adding and removing a tag at the same time Jani Nikula
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jani Nikula @ 2012-03-26 21:04 UTC (permalink / raw)
  To: notmuch; +Cc: tomi.ollila

v3 of id:"cover.1332702915.git.jani@nikula.org" with the following
mostly non-functional changes:

 - add test for the current tagging behaviour in patch 1, and change the
   test in patch 2 when the behaviour is changed
 - handle the no tag changes case in _optimize_tag_query() in patch 2
 - add braces around the "tag_ops[tag_ops_count].remove = (argv[i][0] == '-');"
   assignment
 - document the tag_query() function a bit in patch 3
 - make tag_message() static in patch 4

BR,
Jani.


Jani Nikula (4):
  test: add test for both adding and removing a tag at the same time
  cli: refactor "notmuch tag" data structures for tagging operations
  cli: refactor "notmuch tag" query tagging into a separate function
  cli: refactor "notmuch restore" message tagging into a separate
    function

 notmuch-restore.c |  148 ++++++++++++++++++++++++---------------------
 notmuch-tag.c     |  173 ++++++++++++++++++++++++++++-------------------------
 test/tagging      |    8 +++
 3 files changed, 178 insertions(+), 151 deletions(-)

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-31  0:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 21:04 [PATCH v3 0/4] cli: notmuch tag/restore refactoring Jani Nikula
2012-03-26 21:04 ` [PATCH v3 1/4] test: add test for both adding and removing a tag at the same time Jani Nikula
2012-03-26 21:04 ` [PATCH v3 2/4] cli: refactor "notmuch tag" data structures for tagging operations Jani Nikula
2012-03-26 21:04 ` [PATCH v3 3/4] cli: refactor "notmuch tag" query tagging into a separate function Jani Nikula
2012-03-26 21:04 ` [PATCH v3 4/4] cli: refactor "notmuch restore" message " Jani Nikula
2012-03-27 20:01 ` [PATCH v3 0/4] cli: notmuch tag/restore refactoring Tomi Ollila
2012-03-29  5:59 ` Austin Clements
2012-03-31  0:30 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).