From bd1e76a98ad33361b118db8038ec5bff2be85506 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 14 Nov 2023 14:43:00 -0500 Subject: [PATCH] Meta: Move .DS_Store rule to the bottom of the .gitignore file Otherwise, opening any folder under Base in Finder on macOS may create a tracked .DS_Store file, which we don't want committed to the repo. --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8e4678ba9b..589944f75f 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ Toolchain/Build Toolchain/Local .vscode .ccls-cache -.DS_Store compile_commands.json .cache .clang_complete @@ -46,3 +45,6 @@ Tests/LibWeb/WPT/MANIFEST.json # Ensure that all files in /Base can be tracked, even if they match one of the above rules !/Base/** + +# Keep last to ensure .DS_Store is never tracked, even if otherwise allowed by any exception above. +.DS_Store