git: 93a25ac9f4c0 - main - .gitignore: add sys/*/compile

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 02 Feb 2024 16:21:44 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=93a25ac9f4c0812c5d99fa0a34d436e46fae2094

commit 93a25ac9f4c0812c5d99fa0a34d436e46fae2094
Author:     Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-02-02 16:17:19 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-02 16:20:36 +0000

    .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 <me igalic co>
    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