diff --git a/conf-sync.sh b/conf-sync.sh index 1ae243f..089358b 100755 --- a/conf-sync.sh +++ b/conf-sync.sh @@ -8,6 +8,10 @@ for dir in $sync_directory/*; do echo "$dir: not a Git repo" continue fi + if [ -f $dir/.disabled ]; then + echo "$dir update is disabled." + continue + fi git -C $dir fetch 2>/dev/null >/dev/null UPSTREAM=${1:-'@{u}'} LOCAL=$(git -C $dir rev-parse @)