[PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

From: Paul Menzel
Date: Thu Jul 02 2020 - 07:12:13 EST


Running `make savedefconfig` creates by default `defconfig`, which is,
currently, on gitâs radar, for example, `git status` lists this file as
untracked.

So, add the file to `.gitignore`, so itâs ignored by git.

Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx>
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 87b9dd8a163b..f07500889fba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -143,6 +143,9 @@ x509.genkey
/allrandom.config
/allyes.config

+# Kconfig presets, default savedefconfg output
+/defconfig
+
# Kdevelop4
*.kdev4

--
2.27.0