From e26474acf4284235895d526c5ed12575cd9c0cce Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 22 Jan 2025 20:20:13 -0800 Subject: [PATCH] More precise gitignore patterns --- .gitignore | 4 ++-- book/.gitignore | 4 ++-- book/diagram/.gitignore | 14 +++++++------- third-party/.gitignore | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index b036b6fb9..8772f6f8b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,5 @@ /buck-out /expand.cc /expand.rs -Cargo.lock -target +/target/ +/Cargo.lock diff --git a/book/.gitignore b/book/.gitignore index 727750711..3c7d18740 100644 --- a/book/.gitignore +++ b/book/.gitignore @@ -1,3 +1,3 @@ -/build +/build/ /mdbook -/node_modules +/node_modules/ diff --git a/book/diagram/.gitignore b/book/diagram/.gitignore index 27572bd3b..001728175 100644 --- a/book/diagram/.gitignore +++ b/book/diagram/.gitignore @@ -1,7 +1,7 @@ -*.aux -*.fdb_latexmk -*.fls -*.log -*.pdf -*.png -*.svg +/*.aux +/*.fdb_latexmk +/*.fls +/*.log +/*.pdf +/*.png +/*.svg diff --git a/third-party/.gitignore b/third-party/.gitignore index 61ead8666..57872d0f1 100644 --- a/third-party/.gitignore +++ b/third-party/.gitignore @@ -1 +1 @@ -/vendor +/vendor/