From 9579b4692b4b7c638842d79345235127c44e217a Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Sun, 3 Sep 2017 13:16:57 +0200 Subject: [PATCH] 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). --- .gitignore | 7 ++++++- build/.gitignore | 3 --- build/extlib/.gitignore | 1 - stats/.gitignore | 2 -- 4 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 build/.gitignore delete mode 100644 build/extlib/.gitignore delete mode 100644 stats/.gitignore diff --git a/.gitignore b/.gitignore index 9aa11484ea..b31db62d5d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,9 @@ .fdroid* *.apk *.jks -/metadata/dump_* \ No newline at end of file +/metadata/dump_* +/stats/logs/ +/stats/data/ +/build/*/ +!/build/extlib/ +/build/.fdroidvcs-* diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index fd81615271..0000000000 --- a/build/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*/ -!/extlib/ -/.fdroidvcs-* diff --git a/build/extlib/.gitignore b/build/extlib/.gitignore deleted file mode 100644 index c0ff3025c3..0000000000 --- a/build/extlib/.gitignore +++ /dev/null @@ -1 +0,0 @@ -!*/ diff --git a/stats/.gitignore b/stats/.gitignore deleted file mode 100644 index d50577de9c..0000000000 --- a/stats/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -logs/ -data/