From dcb5179b5050075b575369536b4f113f6d15e7b1 Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Tue, 2 Jun 2026 21:24:37 +1000 Subject: [PATCH] gitignore: Ignore python cache directories Running ./scripts/Kconfiglib/setconfig.py leaves the tree with untracked files: Untracked files: (use "git add ..." to include in what will be committed) scripts/Kconfiglib/__pycache__/ Add __pycache__ to .gitignore to fix it. Signed-off-by: Michael Ellerman Reviewed-by: Anup Patel Link: https://lore.kernel.org/r/20260602-fix-gitignore-v1-1-4299e2e40ee4@kernel.org Signed-off-by: Anup Patel --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 94caeb90..fc27e747 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,9 @@ build/ install/ +# Python bytecode (e.g. from scripts/Kconfiglib) +__pycache__ + # Development friendly files tags cscope*