diff mbox series

.gitignore: add .cache/ to .gitignore

Message ID 20220907150010.2047037-1-lei4.wang@intel.com (mailing list archive)
State New, archived
Headers show
Series .gitignore: add .cache/ to .gitignore | expand

Commit Message

Lei Wang 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

Philippe Mathieu-Daudé Sept. 16, 2022, 2:37 p.m. UTC | #1
On 7/9/22 17:00, Wang, Lei wrote:
> $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(+)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Laurent Vivier Sept. 29, 2022, 7:17 p.m. UTC | #2
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-*