[PATCH] .gitignore: add .cache/ to .gitignore

Wang, Lei posted 1 patch 1 year, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220907150010.2047037-1-lei4.wang@intel.com
.gitignore | 1 +
1 file changed, 1 insertion(+)
[PATCH] .gitignore: add .cache/ to .gitignore
Posted by Wang, Lei 1 year, 8 months ago
$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-*
-- 
2.37.3
Re: [PATCH] .gitignore: add .cache/ to .gitignore
Posted by Laurent Vivier 1 year, 7 months ago
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


Re: [PATCH] .gitignore: add .cache/ to .gitignore
Posted by Philippe Mathieu-Daudé via 1 year, 7 months ago
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>