Fixed the broken -e command line option

In the original the defaults always overwrote the option.
pull/79/head
Tero Niemi 4 years ago committed by GitHub
parent 7a6fa177ba
commit 4d086834fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,6 +38,7 @@
REMOTE=""
BRANCH=""
SLEEP_TIME=2
EVENTS="close_write,move,delete,create"
DATE_FMT="+%Y-%m-%d %H:%M:%S"
COMMITMSG="Scripted auto-commit on change (%d) by gitwatch.sh"
LISTCHANGES=-1
@ -156,7 +157,6 @@ if [ -z "$GW_INW_BIN" ]; then
# if Mac, use fswatch
if [ "$(uname)" != "Darwin" ]; then
INW="inotifywait";
EVENTS="close_write,move,delete,create";
else
INW="fswatch";
# default events specified via a mask, see

Loading…
Cancel
Save