From 840fabbea2fbb00e6ad79b6cf23addc22145c703 Mon Sep 17 00:00:00 2001 From: Martin Huschenbett Date: Thu, 15 Oct 2020 10:25:57 +0200 Subject: [PATCH] Spell out bazel directories in .gitignore (#7688) * Spell out bazel directories in .gitignore With the old `/bazel-*` pattern in there, `rg` also ignores files like `bazel-haskell-deps.bzl`, which is quite inconvenient. I obtained the list of what should be hidden by uncommenting the `/bazel-*` line and adding evering `git status` showed as new files. Thus, the list is hopefully complete. We have a similar issue with `/compatibility/bazel-haskell-deps.bzl`. Since I could figure out what exactly we want to ignore there, I just added an un-ignore for that single file. CHANGELOG_BEGIN CHANGELOG_END * Go with the unignore approach everywhere CHANGELOG_BEGIN CHANGELOG_END --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8594874692..ddffb61e93 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,10 @@ target # Bazel .bazel-cache /bazel-* +!/bazel-haskell-deps.bzl +!/bazel-java-deps.bzl /compatibility/bazel-* +!/compatibility/bazel-haskell-deps.bzl /compatibility/.bazelrc /compatibility/head_sdk/ .bazelrc.local