From: Joey Hess Date: Sun, 29 Aug 2010 19:04:48 +0000 (-0400) Subject: another example of fixups hook X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/4c3dcb350066802311b52151f0f73c5bbe2603e0 another example of fixups hook --- diff --git a/mrconfig.complex b/mrconfig.complex index a80e981..a7d8551 100644 --- a/mrconfig.complex +++ b/mrconfig.complex @@ -71,9 +71,9 @@ checkout = mkdir Maildir Maildir/cur Maildir/new Maildir/tmp; chmod 700 Maildir status = : [mail] -# I use mairix to index my mail archive; run it after each update. checkout = git clone ssh://joey@git.kitenet.net/srv/git/joey/private/mail -update = git pull "$@"; if [ "$(which mairix)" ]; then mairix -Q; fi +# I use mairix to index my mail archive; keep its index up-to-date. +fixups = if [ "$(which mairix)" ]; then ionice -c 3 mairix -Q; fi skip = ! mylaptop [tmp]