Fix ignored but tracked .keep file

We ignore the directory zuul/web/static but want to keep the directory
itself existing. We do this by having a .keep file in there which is
excluded in the gitignore file. However we currently ignore the
complete directory zuul/web/static so git ignores the exclude
rule. Thus the .keep file is ignored but tracked which is not really
what we want. Instead ignore all files below zuul/web/static. This way
the exclude rule works and the .keep file is not ignored.

Change-Id: I3b17d1c48c6da2c5920816153a1265dbec591d38
This commit is contained in:
Tobias Henkel 2018-12-02 09:12:25 +01:00
parent 9f849e1f99
commit 5c97994f9f
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2

2
.gitignore vendored
View File

@ -19,7 +19,7 @@ zuul/versioninfo
dist/
cover/
htmlcov/
zuul/web/static
zuul/web/static/*
!.keep
node_modules
yarn-error.log