]> git.ipfire.org Git - thirdparty/ut1-blacklists.git/commitdiff
Only add new files from the blacklists/ directory in the "sync-git" script
authorLuc Sarzyniec <luc.sarzyniec@xilopix.com>
Tue, 8 Aug 2017 06:43:09 +0000 (08:43 +0200)
committerLuc Sarzyniec <luc.sarzyniec@xilopix.com>
Tue, 8 Aug 2017 06:43:38 +0000 (08:43 +0200)
scripts/sync-git

index 74beab382005cb7df63f6aa084c39a31e8fcb7a8..35677a03f21835c4d064fa1fdc6f72373eae2d00 100755 (executable)
@@ -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"