From 93a25ac9f4c0812c5d99fa0a34d436e46fae2094 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Fri, 2 Feb 2024 09:17:19 -0700 Subject: [PATCH] .gitignore: add sys/*/compile Files in sys/*/compile are created when compiling the kernel with config(8). They are never source files and should never be committed to source control, so list this entire directory in .gitignore. While not the official way to build the kernel, it's often useful to debug sys/conf/files* changes when adding new drivers, etc. Reviewed by: imp, meena Pull Request: https://github.com/freebsd/freebsd-src/pull/1082 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 785568271794..3ed711f301ac 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ tags .cache .clangd .ccls-cache +sys/*/compile