Page MenuHomeFreeBSD

gitignore: Add .clangd and .ccls-cache
ClosedPublic

Authored by khng on Sep 25 2020, 10:51 AM.
Tags
None
Referenced Files
F102550942: D26555.id77518.diff
Wed, Nov 13, 10:52 PM
Unknown Object (File)
Fri, Nov 8, 3:19 AM
Unknown Object (File)
Thu, Oct 24, 12:26 AM
Unknown Object (File)
Oct 14 2024, 10:48 PM
Unknown Object (File)
Oct 14 2024, 5:37 PM
Unknown Object (File)
Oct 2 2024, 8:58 AM
Unknown Object (File)
Sep 27 2024, 1:25 PM
Unknown Object (File)
Sep 27 2024, 1:25 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.