Page MenuHomeFreeBSD

gitignore: Add .clangd and .ccls-cache
ClosedPublic

Authored by khng on Sep 25 2020, 10:51 AM.
Tags
None
Referenced Files
F115122526: D26555.diff
Sun, Apr 20, 4:30 PM
F115090193: D26555.id77518.diff
Sun, Apr 20, 9:13 AM
Unknown Object (File)
Thu, Apr 17, 7:31 AM
Unknown Object (File)
Sun, Apr 13, 9:04 PM
Unknown Object (File)
Sat, Apr 12, 11:12 PM
Unknown Object (File)
Sat, Apr 12, 12:08 AM
Unknown Object (File)
Wed, Mar 26, 1:19 AM
Unknown Object (File)
Mar 19 2025, 12:39 PM

Details

Summary

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

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33812
Build 31029: arc lint + arc unit

Event Timeline

khng requested review of this revision.Sep 25 2020, 10:51 AM
khng created this revision.

Ideally everyone would keep that kind of stuff in their global gitignore (core.excludesfile) :)

but if we're going with this, please also add .ccls-cache/ from the sort-of more popular these days server ccls

In D26555#591358, @greg_unrelenting.technology wrote:

Ideally everyone would keep that kind of stuff in their global gitignore (core.excludesfile) :)

but if we're going with this, please also add .ccls-cache/ from the sort-of more popular these days server ccls

Good suggestion. :)

  • Add .ccls-cache to .gitignore

Seems fine. Is the trailing slash needed?

This revision is now accepted and ready to land.Sep 25 2020, 3:04 PM

Seems not, although both are directories.

khng retitled this revision from Add .clangd to .gitignore to gitignore: Add .clangd and .ccls-cache.Jun 4 2021, 8:20 AM
khng edited the summary of this revision. (Show Details)

Updated. Removed trailing slash as it causes problem when symbolic links are used.

This revision now requires review to proceed.Jun 4 2021, 8:21 AM
This revision is now accepted and ready to land.Jun 4 2021, 8:54 AM
This revision was automatically updated to reflect the committed changes.