summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorMaybe Lapkin <waffle.lapkin@gmail.com>2024-11-28 20:34:30 +0100
committerMaybe Lapkin <waffle.lapkin@gmail.com>2024-11-28 21:52:23 +0100
commit33f13f2ab575bb9d702217f25b9ea45fc527bbf2 (patch)
treef600977128b38c7121638060f1b12dfd4c41cde8 /.gitignore
parentc52d952a6aae3c850dba192a79662b990eb8dc11 (diff)
downloadrust-33f13f2ab575bb9d702217f25b9ea45fc527bbf2.tar.gz
rust-33f13f2ab575bb9d702217f25b9ea45fc527bbf2.zip
ignore `/build` instead of `build/` in gitignore
this does two things:
1. allows making `build` a symlink (which is not considered a directory
   by git, thus removal of trailing `/`).
2. removes the need to special case `rustc_mir_build/src/build`
   (leading `/` makes git only ignore the `build` in the root)
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 948133cd76e..ce9db8b861d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,8 +46,7 @@ no_llvm_build
 /inst/
 /llvm/
 /mingw-build/
-build/
-!/compiler/rustc_mir_build/src/build/
+/build
 /build-rust-analyzer/
 /dist/
 /unicode-downloads