aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKa Ho Ng <khng@FreeBSD.org>2021-06-04 08:04:04 +0000
committerKa Ho Ng <khng@FreeBSD.org>2021-06-04 08:06:32 +0000
commit73570795e7906ec555b37ff7e20e5d5d559ccdad (patch)
tree7247bf91ff51d87058b0c953a64c2f127551b465
parent681500889424423403ace51f118b3467e09acc00 (diff)
downloadsrc-73570795e7906ec555b37ff7e20e5d5d559ccdad.tar.gz
src-73570795e7906ec555b37ff7e20e5d5d559ccdad.zip
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
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
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