Skip to content

Commit

Permalink
ignore /build instead of build/ in gitignore
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
WaffleLapkin committed Nov 28, 2024
1 parent 7b00e19 commit e0d845a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0d845a

Please sign in to comment.