diff mbox series

.gitignore: add .cache/ to .gitignore

Message ID 20220907150010.2047037-1-lei4.wang@intel.com
State New
Headers show
Series .gitignore: add .cache/ to .gitignore | expand

Commit Message

Wang, Lei Sept. 7, 2022, 3 p.m. UTC
$PROJECT/.cache/clangd/index is the intended location for project index
data when using clangd as the language server. Ignore this directory to
keep the git status clean.

Signed-off-by: Wang, Lei <lei4.wang@intel.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

Comments

Laurent Vivier Sept. 29, 2022, 7:17 p.m. UTC | #1
Le 07/09/2022 à 17:00, Wang, Lei a écrit :
> $PROJECT/.cache/clangd/index is the intended location for project index
> data when using clangd as the language server. Ignore this directory to
> keep the git status clean.
> 
> Signed-off-by: Wang, Lei <lei4.wang@intel.com>
> ---
>   .gitignore | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 9726a778b3..8aab671265 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,5 +1,6 @@
>   /GNUmakefile
>   /build/
> +/.cache/
>   *.pyc
>   .sdk
>   .stgit-*

Applied to my trivial-patches branch.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 9726a778b3..8aab671265 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@ 
 /GNUmakefile
 /build/
+/.cache/
 *.pyc
 .sdk
 .stgit-*