summaryrefslogtreecommitdiff
path: root/liw.cronish
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-10-12 16:49:59 +0100
committerLars Wirzenius <liw@liw.fi>2013-10-12 16:49:59 +0100
commit52c88fbfe81190772612dd3df1d2322deaac28a5 (patch)
tree39aa89f81f608770d695717c9be69ce0b600a2dc /liw.cronish
parent44b622c7691d7870e05992d194228318c826714e (diff)
downloadliw-dot-files-52c88fbfe81190772612dd3df1d2322deaac28a5.tar.gz
Use git in ~/GTD
Diffstat (limited to 'liw.cronish')
-rw-r--r--liw.cronish11
1 files changed, 4 insertions, 7 deletions
diff --git a/liw.cronish b/liw.cronish
index a86091d..f7bbc6c 100644
--- a/liw.cronish
+++ b/liw.cronish
@@ -9,15 +9,12 @@ GTD:
command: |
set -eu
cd $HOME/GTD
- if bzr status | grep . > /dev/null
+ if ! git status | grep "nothing to commit" > /dev/null
then
- bzr commit -m sync
- bzr merge --pull
- bzr push
- else
- bzr merge --pull
- bzr push
+ git commit -am sync --quiet
fi
+ git pull --quiet --no-edit
+ git push --quiet
wotsap:
trigger-file: /home/liw/.wotsapdb