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

From: Masahiro Yamada
Date: Sun Apr 25 2021 - 02:26:35 EST


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@xxxxxxxxxx>
---

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

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.*
--
2.27.0