From 589211ed3a540d7a1bc6d624e1a3e00171077387 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 8 Jun 2020 22:33:12 +0200 Subject: [PATCH] [services] Fix note-sync services pushing Fixed conditional to not always reset push timer, even if no changes were made. --- services/.local/share/services/git-sync | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/.local/share/services/git-sync b/services/.local/share/services/git-sync index 8b1328a..f3ecb42 100755 --- a/services/.local/share/services/git-sync +++ b/services/.local/share/services/git-sync @@ -31,9 +31,10 @@ should_commit() { if [ "$(run_git status --porcelain | wc -l)" -eq 0 ]; then msg "No changes to commit in $DIR" false + else + msg "Found changes to commit in $DIR" + true fi - msg "Found changes to commit in $DIR" - true } should_push() {