[PATCH v2] Revert ".gitignore: Ignore cscope and other *tags files"

Martin Kletzander posted 1 patch 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/dda0655477f4080316e12e071c54d56b0b44dae6.1675872328.git.mkletzan@redhat.com
.gitignore | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
[PATCH v2] Revert ".gitignore: Ignore cscope and other *tags files"
Posted by Martin Kletzander 1 year, 2 months ago
This reverts commit f2d379e7cb802f922409c35e4831ee52a2162486.

Any tool-related ignores should go to user's global ignore file or the user's
local exclude file which is per-project.  See git-config(1) and gitignore(5) for
more details.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
 .gitignore | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/.gitignore b/.gitignore
index 61ea7779b02b..469539134280 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,17 +19,7 @@ __pycache__/
 # libvirt related ignores
 /build/
 /ci/scratch/
-
-# *tags and cscope files
-/GPATH
-/GRTAGS
-/GTAGS
-/TAGS
-/cscope.files
-/cscope.in.out
-/cscope.out
-/cscope.po.out
-/tags
+tags
 
 # clangd related ignores
 .clangd
-- 
2.39.1
Re: [PATCH v2] Revert ".gitignore: Ignore cscope and other *tags files"
Posted by Peter Krempa 1 year, 2 months ago
On Wed, Feb 08, 2023 at 17:05:28 +0100, Martin Kletzander wrote:
> This reverts commit f2d379e7cb802f922409c35e4831ee52a2162486.
> 
> Any tool-related ignores should go to user's global ignore file or the user's
> local exclude file which is per-project.  See git-config(1) and gitignore(5) for
> more details.
> 
> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
> ---
>  .gitignore | 12 +-----------
>  1 file changed, 1 insertion(+), 11 deletions(-)

You can use:

Reviewed-by: Peter Krempa <pkrempa@redhat.com>

but I'm not too fussy about having few more ignores.
Re: [PATCH v2] Revert ".gitignore: Ignore cscope and other *tags files"
Posted by Martin Kletzander 1 year, 2 months ago
On Wed, Feb 08, 2023 at 05:10:04PM +0100, Peter Krempa wrote:
>On Wed, Feb 08, 2023 at 17:05:28 +0100, Martin Kletzander wrote:
>> This reverts commit f2d379e7cb802f922409c35e4831ee52a2162486.
>>
>> Any tool-related ignores should go to user's global ignore file or the user's
>> local exclude file which is per-project.  See git-config(1) and gitignore(5) for
>> more details.
>>
>> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
>> ---
>>  .gitignore | 12 +-----------
>>  1 file changed, 1 insertion(+), 11 deletions(-)
>
>You can use:
>
>Reviewed-by: Peter Krempa <pkrempa@redhat.com>
>
>but I'm not too fussy about having few more ignores.
>

I fixed my issue in a better way and this also hints what to do and how
for others next time they will hunt for GTAGS not being ignored in the
history ;)