aboutsummaryrefslogtreecommitdiffstats
path: root/SOURCE/head.sh
diff options
context:
space:
mode:
authordanix <danix@danix.xyz>2023-04-14 10:45:52 +0200
committerdanix <danix@danix.xyz>2023-04-14 10:45:52 +0200
commitcf6d89bcf906ba72560847cb804646b9cd8d99b4 (patch)
tree6289ed3edb8a5813395ec1f6d04bc51a81f3a7ff /SOURCE/head.sh
parentb1e2a0183a9b5b587968f2ab77ac5952331d1972 (diff)
downloadbash-notes-cf6d89bcf906ba72560847cb804646b9cd8d99b4.tar.gz
bash-notes-cf6d89bcf906ba72560847cb804646b9cd8d99b4.zip
sync operations now check for last sync before running again. It's possible to set a delay between sync operations.
Diffstat (limited to 'SOURCE/head.sh')
-rw-r--r--SOURCE/head.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/SOURCE/head.sh b/SOURCE/head.sh
index 7b684f1..890d711 100644
--- a/SOURCE/head.sh
+++ b/SOURCE/head.sh
@@ -51,6 +51,8 @@ NOTESDIR=${BASEDIR}/notes
USEGIT=true
# Address of your remote repository
GITREMOTE=${GITREMOTE:-""}
+# How long should we wait (in seconds) between sync on the git remote. Default 3600 (1 hour)
+GITSYNCDELAY=${GITSYNCDELAY:-3600}
} # end set_defaults, do not change this line.