Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2021 08:06:41 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 73570795e790 - main - gitignore: Add compile_commands.json
Message-ID:  <202106040806.15486fki007513@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by khng:

URL: https://cgit.FreeBSD.org/src/commit/?id=73570795e7906ec555b37ff7e20e5d5d559ccdad

commit 73570795e7906ec555b37ff7e20e5d5d559ccdad
Author:     Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2021-06-04 08:04:04 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-06-04 08:06:32 +0000

    gitignore: Add compile_commands.json
    
    The purpose of this change is to make sure no one would accidentally
    include their own workspace leftover into a commit.
    
    compile_commands.json is a generated file which contains build commands.
    The file is consumed by Language Servers such as clangd and ccls.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    lwhsu
    Differential Revision:  https://reviews.freebsd.org/D26514
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index c674e06fda50..2e735237b30f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ cscope.files
 cscope.in.out
 cscope.out
 cscope.po.out
+compile_commands.json



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106040806.15486fki007513>