From: Don Armstrong Date: Fri, 27 Dec 2013 04:53:59 +0000 (-0800) Subject: automatically call mr and commit when necessary X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dfe71ff181038af4628ae5df4431d9cd0ff21669;p=bin.git automatically call mr and commit when necessary --- diff --git a/update_mobile_org b/update_mobile_org index 27f18e2..75cfc80 100755 --- a/update_mobile_org +++ b/update_mobile_org @@ -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';