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

From: Li Zhijian
Date: Mon Nov 25 2024 - 03:37:05 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 can be reproduced by compiling the kernel with the W=1 option.
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 | 1 +
1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 56972adb5031..6c57bb0259c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -128,6 +128,7 @@ series

# ctags files
tags
+!tags/
TAGS

# cscope files
--
2.44.0