]> rtime.felk.cvut.cz Git - sojka/duhome.git/blobdiff - duhome
Silence git if there is nothing to commit
[sojka/duhome.git] / duhome
diff --git a/duhome b/duhome
index a50354791aa9b42ec63f28a4349a1c03ff4f3b26..15896fe13f76216fafcf6030c52d47fbcdfc824d 100755 (executable)
--- a/duhome
+++ b/duhome
@@ -21,7 +21,7 @@ case "$1" in
        cd $DATA
        shift
        GIT_AUTHOR_NAME="$0" GIT_AUTHOR_EMAIL="$USER@$(hostname -f)" \
-           git commit --quite -m 'Automatic commit' "$@" || :
+           git commit --quiet -m 'Automatic commit' "$@" > /dev/null || :
        ;;
     status)
        cd $DATA