From 691384b4c88baad730c3e1425308e5d76b4145c4 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Mon, 3 Mar 2025 00:14:26 +0100 Subject: [PATCH] Modify .bazelignore to allow reading git hash (#3264) --- .bazelignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.bazelignore b/.bazelignore index 1b520c317..bbb6d1890 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,4 +1,10 @@ -.git +# ignore .git, but make sure we can get commit hash +!.git/HEAD +!.git/refs +!.git/refs/heads +!.git/packed-refs +.git/* + node_modules bazel-out bazel-bin