From eddde1d0634cd56300e121d137c6d1c687ef49ce Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 23 Jun 2024 18:07:27 +0200 Subject: [PATCH] Ignore all dot-files in .gitignore * .gitignore: Ignore all dot-files except for those checked into Git. This makes us less opinionated about using tools in the Emacs tree. (cherry picked from commit 9688fd6eb1d05e97c556cd53c53dd92220d9efaa) --- .gitignore | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 90df4ebd38c..22de5455346 100644 --- a/.gitignore +++ b/.gitignore @@ -18,9 +18,15 @@ # along with GNU Emacs. If not, see . -# Personal customization. -.dir-locals-2.el -.no-advice-on-failure +# Ignore all dot-files except for those under version control. +.* +!.clang-format +!.clangd +!.dir-locals.el +!.gitattributes +!.gitignore +!.gitlab-ci.yml +!.mailmap # Built by 'autogen.sh'. /aclocal.m4 @@ -304,7 +310,6 @@ gnustmp* *.orig *.swp *~ -.#* \#*\# ChangeLog [0-9]*.patch @@ -353,17 +358,8 @@ lib-src/seccomp-filter-exec.pfc # Ignore directory made by admin/make-manuals. /manual/ -# Ignore Finder files on MacOS. -.DS_Store - -# Ignore a directory used by dap-mode. -.vscode /test/gmp.h -# GDB history -.gdb_history -_gdb_history - # Files ignored in exec/. exec/aclocal.m4 exec/config.guess -- 2.39.2