[PATCH] gitignore: Don't ignore 'tags' directory

From: Li Zhijian
Date: Mon Nov 25 2024 - 02:23:24 EST


LKP reported warnings [1] regarding files being ignored:
tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files
tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files
tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files

These warnings were generated by ./scripts/misc-check. Although these files
are tracked by Git and the warnings are false positives, adjusting the
.gitignore entries will prevent these warnings and ensure a smoother script
execution.

[1] https://lore.kernel.org/linux-kselftest/202411251308.Vjm5MzVC-lkp@xxxxxxxxx/

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Li Zhijian <lizhijian@xxxxxxxxxxx>
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 56972adb5031..e63dbba823cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -130,6 +130,9 @@ series
tags
TAGS

+# don't ignore 'tags' directory
+!tags/
+
# cscope files
cscope.*
ncscope.*
--
2.44.0