git: 42875200fa44 - main - .gitignore: Ignore LSP generated .cache

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 07 Mar 2023 15:05:35 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=42875200fa4405aa236880a9fbfea6c43eb7390d

commit 42875200fa4405aa236880a9fbfea6c43eb7390d
Author:     Jake Freeland <jfree@FreeBSD.org>
AuthorDate: 2023-03-07 15:04:18 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-03-07 15:04:18 +0000

    .gitignore: Ignore LSP generated .cache
    
    Language servers like clangd generate a .cache directory to store
    compilation cache. Tell Git to ignore this directory when staging files.
    
    Reviewed by:    markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D38937
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 2dadcf8b0bb6..785568271794 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,5 +25,6 @@ cscope.po.out
 compile_commands.json
 compile_commands.events.json
 tags
+.cache
 .clangd
 .ccls-cache