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, Dec 13, 10:54 PM
Unknown Object (File)
Sun, Dec 8, 9:55 AM
Unknown Object (File)
Thu, Dec 5, 3:21 PM
Unknown Object (File)
Wed, Dec 4, 7:42 AM
Unknown Object (File)
Nov 21 2024, 6:09 PM
Unknown Object (File)
Nov 21 2024, 4:01 PM
Unknown Object (File)
Nov 15 2024, 1:07 AM
Unknown Object (File)
Nov 15 2024, 12:22 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39693
Build 36582: 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.