]> git.donarmstrong.com Git - bin.git/commitdiff
automatically call mr and commit when necessary
authorDon Armstrong <don@donarmstrong.com>
Fri, 27 Dec 2013 04:53:59 +0000 (20:53 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 27 Dec 2013 04:53:59 +0000 (20:53 -0800)
update_mobile_org

index 27f18e24873c1dd846cc33c680645d16d106d799..75cfc802e62d97b6869124df1ffa738a14bf0292 100755 (executable)
@@ -7,4 +7,6 @@ LOCKOPTS=-q
 if [ -n "$PS1" ]; then
     LOCKOPTS=-f;
 fi;
+mr -d org-mode up;
 with-lock-ex $LOCKOPTS $TMPDIR/update_mobile_org emacs --batch -l ~/.emacs -f 'org-mobile-push' -f 'org-mobile-pull'
+mr -d org-mode commit -m'org mobile automated commit and push';