From: Vincent Bernat <vinc...@bernat.im> .gitignore is an odd beast. All the stuff at the beginning is useless since in the bottom part starts with /.* and /*. Therefore, the top part is useless. Moreover, the bottom part makes unignore *.o and friends. Add it back at the bottom. --- .gitignore | 49 +------------------------------------------------ 1 file changed, 1 insertion(+), 48 deletions(-)
diff --git a/.gitignore b/.gitignore index 0292bcc1b4ce..54c9cdeb3a3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,51 +1,3 @@ -*.o -*/.svn -*~ -.flxdisk* -.flxpkg -.flxstatus* -.svn -haproxy -src/*.o -*.rej -*.orig -*.log* -*.trace* -haproxy-* -!doc/haproxy-*.txt -!src/*.c -make-* -dlmalloc.c -00*.patch -*.service -*.bak -.nfs* -contrib/base64/base64rev -contrib/halog/halog -contrib/ip6range/ip6range -contrib/iprange/iprange -tests/test_hashes -/*.cfg -/*.conf -/*.diff -/*.patch -/*.c -/*.o -/*.so -/*.txt -/*.TXT -/*.txt.* -/*.prof -/*.gprof -/*.prof.* -/*.gprof.* -/*.tar -/*.tar.gz -/*.tgz -/*.mbox -/*.sh -/bug* -/TAGS # Below we forbid everything and only allow what we know, that's much easier # than blocking about 500 different test files and bug report outputs. /.* @@ -69,3 +21,4 @@ tests/test_hashes !/src !/tests !/debian +*.o -- 2.8.0.rc3