Page MenuHomeFreeBSD

gitignore: Add .clangd and .ccls-cache
ClosedPublic

Authored by khng on Sep 25 2020, 10:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 12, 11:28 AM
Unknown Object (File)
Tue, Mar 12, 11:28 AM
Unknown Object (File)
Tue, Mar 12, 11:28 AM
Unknown Object (File)
Tue, Mar 12, 11:28 AM
Unknown Object (File)
Tue, Mar 12, 11:25 AM
Unknown Object (File)
Fri, Mar 8, 5:43 AM
Unknown Object (File)
Feb 20 2024, 8:58 AM
Unknown Object (File)
Jan 15 2024, 7:36 AM

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 33814
Build 31031: 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.