Commit Graph

7 Commits

Author SHA1 Message Date
Ka Ho Ng
9b236631b1 gitignore: Add .clangd and .ccls-cache
Add residues of clangd and ccls to prevent them from being accidentally
included in a commit.

clangd and ccls are two C/C++ Language Server implementations listed in
https://microsoft.github.io/language-server-protocol/implementors/servers/ .

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	philip
Differential Revision:	https://reviews.freebsd.org/D26555
2021-06-04 16:56:08 +08:00
Ka Ho Ng
73570795e7 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
2021-06-04 16:06:32 +08:00
Roger Pau Monné
a67522b22d gitignore: expand list of ignored files
Add the *.swp and *~ pattern for vim temporary files. Expand the
cscope ones to include all files possibly generated by cscope and also
add some known object formats.

Also remove the leading '?' from cscope.out, or else it doesn't match
the cscope.out file generated by default (as it expects an extra
character in front).

Reviewed by:		gjb, uqs, lwhsu
Sponsored by:		Citrix Systems R&D
Differential Revision:	https://reviews.freebsd.org/D28095
2021-01-14 17:03:57 +01:00
Warner Losh
a21d9b36a1 Stop ignoring makeLINT generated files
We're going to check these files in shortly since we don't need to
generate them anymore. Generated files cause issues for different work
flows anyway.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D26540
2020-10-09 00:27:45 +00:00
Conrad Meyer
d52a918e3f .gitignore: Add LINT kernel configurations generated into SRCDIR 2019-08-10 18:22:22 +00:00
Bryan Drewery
eedfb878c9 Ignore _.universe-toolchain file.
MFC after:	3 weeks
X-MFC-with:	r335711
2018-07-01 13:50:37 +00:00
Eitan Adler
15e8779b1b .git*: add gitattributes and gitignore
For users of the git mirrors, lets provide useful git configuration
files.
2017-12-25 21:07:54 +00:00