switch to a single top-level .gitignore

We don't have any special requirements like ignoring specific
wildcards just in a subdirectory, so let's specify all ignore
targets at top-level explicitly.

This makes it easier to see what's ignored at a glance.
As an added benefit it enables effectively searching the repo with
ag (the silver-seearcher).
This commit is contained in:
Marcus Hoffmann 2017-09-03 13:16:57 +02:00
parent 6803e48cd7
commit 9579b4692b
4 changed files with 6 additions and 7 deletions

5
.gitignore vendored
View file

@ -11,3 +11,8 @@
*.apk *.apk
*.jks *.jks
/metadata/dump_* /metadata/dump_*
/stats/logs/
/stats/data/
/build/*/
!/build/extlib/
/build/.fdroidvcs-*

3
build/.gitignore vendored
View file

@ -1,3 +0,0 @@
/*/
!/extlib/
/.fdroidvcs-*

View file

@ -1 +0,0 @@
!*/

2
stats/.gitignore vendored
View file

@ -1,2 +0,0 @@
logs/
data/