Browse code

gitignore: Ignore all log files

Before this change, only *.log and *.log.[0-9] patterns were
ignored, which was not enough. Examples of file names which were
not ignored:

devstack.log.2018-08-09-100547
wget-log
wget-log.1

Patterns *.log.* and *-log.* work for every log file generated by
devstack.

Change-Id: I6f0de5de74f196ab9df66cf3f2f969e53da01c22
Signed-off-by: Michal Rostecki <mrostecki@suse.de>

Michal Rostecki authored on 2018/08/09 22:19:17
Showing 1 changed files
... ...
@@ -1,7 +1,9 @@
1 1
 *~
2 2
 .*.sw?
3 3
 *.log
4
-*.log.[1-9]
4
+*-log
5
+*.log.*
6
+*-log.*
5 7
 *.pem
6 8
 *.pyc
7 9
 .localrc.auto