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)
Fri, Jan 24, 7:24 PM
Unknown Object (File)
Sun, Jan 12, 12:29 AM
Unknown Object (File)
Fri, Jan 10, 1:06 AM
Unknown Object (File)
Fri, Dec 27, 4:20 PM
Unknown Object (File)
Dec 25 2024, 9:25 AM
Unknown Object (File)
Dec 13 2024, 10:54 PM
Unknown Object (File)
Dec 8 2024, 9:55 AM
Unknown Object (File)
Dec 5 2024, 3:21 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.