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

2022-08-03 Thread sums via Phabricator via cfe-commits
sums marked an inline comment as done. sums added a comment. Thank you for the reviews and discussion, everyone! TIL about `.git/info/exclude`. It'll let me exclude stuff without updating the checked in `.gitignore`. I was achieving the same effect for clangd by manually creating a `.gitignore`

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

2022-08-01 Thread sums via Phabricator via cfe-commits
sums marked an inline comment as done. sums added inline comments. Comment at: clang-tools-extra/clangd/test/background-index.test:23 +# RUN: ls %/t/.cache/clangd/index/.gitignore +# RUN: ls %/t/sub_dir/.cache/clangd/index/.gitignore + sammccall wrote: > Bleh, id

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

2022-08-01 Thread sums via Phabricator via cfe-commits
sums added a comment. In D130863#3690275 , @kadircet wrote: > I am not sure if clangd is the right tool the create those `.gitignore` > files, e.g. what if the project's VCS isn't git? I believe the right thing to > do is for projects that want to make

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

2022-07-31 Thread sums via Phabricator via cfe-commits
sums created this revision. sums added a reviewer: clang-tools-extra. sums added a project: clang-tools-extra. Herald added subscribers: usaxena95, kadircet, arphaman. Herald added a project: All. sums requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.