From 249b362d7b4c9afa701da206bc47c0b316c41feb Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 28 Aug 2026 14:31:33 +0200 Subject: [PATCH] Actually keep ignoring the legacy `target_ra` folder A trailing `#` does not start a comment in `.gitignore`, so `**/target_ra # legacy Rust Analyzer target dir` was matching a path literally named that, and the leftover `target_ra` folders in existing checkouts stopped being ignored. Co-Authored-By: Claude Opus 5 (1M context) --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 75ac73f5b..86507503b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ .DS_Store +# `target_ra` and `target_wasm` are legacy locations; they now live inside `target/`. +# Keep them on their own lines: a trailing `#` is not a comment in .gitignore. **/target -**/target_ra # legacy Rust Analyzer target dir +**/target_ra **/target_wasm **/tests/snapshots/**/*.diff.png **/tests/snapshots/**/*.new.png