diff mbox series

[2/5] .gitignore: move tags and TAGS close to other tag files

Message ID 20210425062407.1183801-2-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series [1/5] kernel/.gitgnore: remove stale timeconst.h and hz.bc | expand

Commit Message

Masahiro Yamada April 25, 2021, 6:24 a.m. UTC
For consistency, move tags and TAGS close to the cscope and GNU Global
patterns.

I removed the '/' prefix in case somebody wants to manually create tag
files in sub-directories.

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

 .gitignore | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index df8d3146a43f..deb68b7555ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,8 +54,6 @@  modules.order
 #
 # Top-level generic files
 #
-/tags
-/TAGS
 /linux
 /modules-only.symvers
 /vmlinux
@@ -114,6 +112,10 @@  patches-*
 patches
 series
 
+# ctags files
+tags
+TAGS
+
 # cscope files
 cscope.*
 ncscope.*