diff mbox series

kconfig: refactor .gitignore

Message ID 20210424135524.196603-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series kconfig: refactor .gitignore | expand

Commit Message

Masahiro Yamada April 24, 2021, 1:55 p.m. UTC
Add '/' prefix to clarify that the generated files exist right under
scripts/kconfig/, but not in the sub-directories.

Replace '*conf-cfg' with '[gmnq]conf-cfg' to make it explicit, but
still short.

Use '[gmnq]conf' to combine gconf, mconf, nconf, and qconf.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/kconfig/.gitignore | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore
index c3d537cd0275..500e7424b3ef 100644
--- a/scripts/kconfig/.gitignore
+++ b/scripts/kconfig/.gitignore
@@ -1,12 +1,5 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
+/conf
+/[gmnq]conf
+/[gmnq]conf-cfg
 /qconf-moc.cc
-*conf-cfg
-
-#
-# configuration programs
-#
-conf
-mconf
-nconf
-qconf
-gconf