summaryrefslogtreecommitdiff
path: root/bin/movemymail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-03 10:50:51 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-03 10:50:51 -0700
commit7f64e0142c15334433ed61dcd88e1f77c6cd2fa9 (patch)
tree3e59ed65348d4b7764b045fe452d4be5c1384ab2 /bin/movemymail
parentf667816dfbd04a31bc078c46271c07ef92adf4e4 (diff)
downloaddotfiles-7f64e0142c15334433ed61dcd88e1f77c6cd2fa9.tar.gz
let's try committing spw:: tags each time we sync IMAP
Diffstat (limited to 'bin/movemymail')
-rwxr-xr-xbin/movemymail4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/movemymail b/bin/movemymail
index 05d0ce96..ef13cb4a 100755
--- a/bin/movemymail
+++ b/bin/movemymail
@@ -7,8 +7,10 @@ if [ -e "$HOME/.nomovemymail" ]; then
exit 1
fi
-# if using notmuch on this machine, sync its database to maildir
+# if using notmuch on this machine, sync its database to maildir & git
if [ -f "$HOME/.fmail/.notmuch/xapian/iamglass" ]; then
+ nmbug-spw commit
+
# ensure all drafts are in the drafts folder
floating_drafts=$(notmuch search --output=files -- tag:draft and not folder:drafts and not tag:deleted)
if [ ! -z "$floating_drafts" ]; then