From: Michael Ellerman <mpe@kernel.org>
To: opensbi@lists.infradead.org
Cc: Michael Ellerman <mpe@kernel.org>
Subject: [PATCH] gitignore: Ignore python cache directories
Date: Tue, 02 Jun 2026 21:24:37 +1000 [thread overview]
Message-ID: <20260602-fix-gitignore-v1-1-4299e2e40ee4@kernel.org> (raw)
Running ./scripts/Kconfiglib/setconfig.py leaves the tree with untracked
files:
Untracked files:
(use "git add <file>..." to include in what will be committed)
scripts/Kconfiglib/__pycache__/
Add __pycache__ to .gitignore to fix it.
Signed-off-by: Michael Ellerman <mpe@kernel.org>
---
.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*
---
base-commit: 547a5bbda7c3ec0096a6c87809851f8c2df047d1
change-id: 20260602-fix-gitignore-e4ca4a9bed10
--
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
next reply other threads:[~2026-06-02 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 11:24 Michael Ellerman [this message]
2026-06-15 4:58 ` [PATCH] gitignore: Ignore python cache directories Anup Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260602-fix-gitignore-v1-1-4299e2e40ee4@kernel.org \
--to=mpe@kernel.org \
--cc=opensbi@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox