about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWaffle Lapkin <waffle.lapkin@gmail.com>2024-12-10 00:05:40 +0100
committerWaffle Lapkin <waffle.lapkin@gmail.com>2024-12-10 00:08:26 +0100
commit5f99e96fbb7964c94f465897ebb59964db76628e (patch)
tree50762a8e96644a0e39be0bf30800d528662079d8
parenta224f3807e58afc9353510f1d556c607d367545d (diff)
downloadrust-5f99e96fbb7964c94f465897ebb59964db76628e.tar.gz
rust-5f99e96fbb7964c94f465897ebb59964db76628e.zip
only ignore `{flake,default}.nix` and `{.envrc,.direnv/}` in the root
this makes it so files in `src/nix-dev-shell` are *not* ignored, as they
should not be. note that `flake.lock` is still ignored globally.
-rw-r--r--.gitignore8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index ce9db8b861d..f84a3704ca9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,12 +88,12 @@ package.json
 tests/rustdoc-gui/src/**.lock
 
 ## direnv
-.envrc
-.direnv/
+/.envrc
+/.direnv/
 
 ## nix
-flake.nix
+/flake.nix
 flake.lock
-default.nix
+/default.nix
 
 # Before adding new lines, see the comment at the top.