Skip to content

Commit e0d845a

Browse files
committed
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)
1 parent 7b00e19 commit e0d845a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ no_llvm_build
4646
/inst/
4747
/llvm/
4848
/mingw-build/
49-
build/
50-
!/compiler/rustc_mir_build/src/build/
49+
/build
5150
/build-rust-analyzer/
5251
/dist/
5352
/unicode-downloads

0 commit comments

Comments
 (0)