From 2f409a85511f4e24aa08389b8e07c0d95b03d4e8 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Thu, 17 Apr 2025 00:46:54 -0400 Subject: [PATCH] Add `.jj` to `.gitignore` (#7559) --- .gitignore | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4383c6f58..d36043262 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,11 @@ +# Jujutsu +# +# When using the WGPU repository through [Jujutsu](https://github.com/martinvonz/jj), `.jj/` dirs. +# are ignored because Jujutsu writes a `.jj/.gitignore` file containing `/*`. Some tools, like +# `prettier`, don't handle nested `.gitgnore` properly, but they _do_ handle top-level `.gitignore` +# patterns properly. So, include it here, even though we shouldn't need it. :cry: +.jj/ + # Generated by Cargo # will have compiled files and executables target/ @@ -36,4 +44,4 @@ cts/ .gpuconfig # Temporary clone location for wasm-bindgen mirroring -wgpu/src/backend/webgpu/webgpu_sys/wasm_bindgen_clone_tmp \ No newline at end of file +wgpu/src/backend/webgpu/webgpu_sys/wasm_bindgen_clone_tmp