diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-10-16 10:05:34 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-10-16 10:05:34 +0100 |
commit | a9b99c45021ff1640a3ca568b46ae7eb855e2edf (patch) | |
tree | 03c38c9a352c10259331fa5a7bb07645ecea5659 /liw.cronish | |
parent | b4886d63e59c197cc3ec16cef6bedcbdfb1903be (diff) | |
download | liw-dot-files-a9b99c45021ff1640a3ca568b46ae7eb855e2edf.tar.gz |
Fix GTD cronish job to work more reliably
The previous test failed when there is files unknown to git.
Diffstat (limited to 'liw.cronish')
-rw-r--r-- | liw.cronish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liw.cronish b/liw.cronish index f7bbc6c..b78806d 100644 --- a/liw.cronish +++ b/liw.cronish @@ -9,7 +9,7 @@ GTD: command: | set -eu cd $HOME/GTD - if ! git status | grep "nothing to commit" > /dev/null + if git status -s | grep '^ M ' > /dev/null then git commit -am sync --quiet fi |