]> git.madduck.net Git - etc/offlineimap.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

run notmuch in hook
authormartin f. krafft <madduck@madduck.net>
Tue, 30 Aug 2011 05:33:55 +0000 (07:33 +0200)
committermartin f. krafft <madduck@madduck.net>
Tue, 30 Aug 2011 05:33:55 +0000 (07:33 +0200)
.bin/offlineimap
.offlineimaprc

index d440e248250aef13ae3fccf040f13c907783aff4..82428cd7526f636d0450207ca338184b1af92357 100755 (executable)
@@ -19,7 +19,3 @@ fi
 
 ret=0
 /usr/bin/offlineimap "$@" || exit $?
-
-if [ -x "$(command -v notmuch)" ]; then
-  notmuch new || exit $?
-fi
index d8fcc2ef49f911a8a0a5c79b149d5f9284b40c18..9f318fad46e7436d44be78410d472c40bc30c053 100644 (file)
@@ -22,12 +22,14 @@ localrepository = local-main
 remoterepository = madduck.net
 autorefresh = 15
 quick = 16
+postsynchook = ionice -c3 nice -20 notmuch new
 
 [Account madduck.net-bulk]
 localrepository = local-main
 remoterepository = madduck.net-bulk
 autorefresh = 15
 quick = 16
+postsynchook = ionice -c3 nice -20 notmuch new
 
 [Repository local-main]
 type = Maildir