From: Luc Sarzyniec Date: Tue, 8 Aug 2017 06:43:09 +0000 (+0200) Subject: Only add new files from the blacklists/ directory in the "sync-git" script X-Git-Tag: 2017-08-14~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d234c339a03926b0f94ce49aa77120985fbd982;p=thirdparty%2Fut1-blacklists.git Only add new files from the blacklists/ directory in the "sync-git" script --- diff --git a/scripts/sync-git b/scripts/sync-git index 74beab38..35677a03 100755 --- a/scripts/sync-git +++ b/scripts/sync-git @@ -7,7 +7,7 @@ set -e set -x # if there is some changes in the repository: commit, tag and push them -git add -N * +git add -N blacklists/ if ! git diff --exit-code > /dev/null then git commit -am "Automatic blacklist update"