[PATCH] D130863: [clangd] Make git ignore index directories

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 04:17:22 PDT 2022


sammccall added a comment.

In D130863#3693135 <https://reviews.llvm.org/D130863#3693135>, @ilya-biryukov wrote:

> Otherwise, I would personally still put `.cache/clangd` into the global `.gitignore` or `.git/info/exclude`. IMO `.cache/clangd` should not be in the VCS history at all, even if only for the `.gitignore` files.
> So landing this as is wouldn't really improve the situation for me personally.

Oh, i was under the impression that git didn't track empty directories and this was recursive: if .cache/clangd/index/* are ignored then index/ doesn't exist, so nor does clangd/ or .cache/.

If this is not the case i agree the value is less... (Can't check, don't have a real computer this week)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130863/new/

https://reviews.llvm.org/D130863



More information about the cfe-commits mailing list