A lot of editor/IDE related config files are dotfiles, like .vimrc
or .clang_complete.

Instead of adding gitignore entry for each editor/IDE, just ignore all
dotfiles.

Signed-off-by: Qu Wenruo <w...@suse.com>
---
changelog
v2:
- Change "hidden files" to "dotfiles" in the commit message.
- No longer mention the kernel gitignore behavior in the commit message.
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index d9f022c48c7d..aadf9ae77d41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -64,7 +64,7 @@
 /cscope.files
 /cscope.in.out
 /cscope.po.out
-.clang_complete
+.*
 
 /Documentation/Makefile
 /Documentation/*.html
-- 
2.21.0

Reply via email to