From a0f5fc32265a4c3a896b1a6ef5d258253658b4d0 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 17 Mar 2013 08:19:42 +0100 Subject: [PATCH] Do not fail if there is nothing to commit --- duhome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duhome b/duhome index 01310eb..a503547 100755 --- 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 -m 'Automatic commit' "$@" + git commit --quite -m 'Automatic commit' "$@" || : ;; status) cd $DATA -- 2.39.2