From b40b71d99447aa883adefc47a0333ee7cae3eeac Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 16 Mar 2026 19:57:26 +0100 Subject: switch to whitelist based .gitignore --- .gitignore | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index fea4c6e..3a4757d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,30 @@ +#ignore everything +/* + +#and whitelist + +!.editorconfig +!.gitignore +!.gitmodules + +!README.md +!LICENSE +!todo.txt +!/doc/ + +!configure +!Makefile +!bootstrap.sh + +!/*.h hostconfig.h -config.mk -antcc -antcc0 -antcc1 -antcc2 -build/ -test/build/ -test/log.txt -compile_commands.json -.cache/ -.gdb_history -*.o -a.out -tool/depgen +!/*.c +!/c/ +!/ir/ +!/x86_64/ +!/aarch64/ +!/obj/ +!/tool/ + +!/test/ +!/test/external/** -- cgit v1.2.3