# [PATCH] gitignore: ignore GNU GLOBAL tag files

5 messages from 2011-03-07 to 2011-03-08. Participants: Namhyung Kim, Ævar Arnfjörð Bjarmason, Matthieu Moy, Roberto Vargas Caballero.
Thread: https://gitlist.dev/t/26680

## Namhyung Kim, 2011-03-07 04:49

Subject: [PATCH] gitignore: ignore GNU GLOBAL tag files
Message-ID: <1299473349-6248-1-git-send-email-namhyung@gmail.com>
URL: https://gitlist.dev/e/1299473349-6248-1-git-send-email-namhyung%40gmail.com

```
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 .gitignore |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index c460c66766a..cec14c5f48d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -207,6 +207,10 @@
 /configure
 /tags
 /TAGS
+/GTAGS
+/GRTAGS
+/GPATH
+/GSYMS
 /cscope*
 *.obj
 *.lib
-- 
1.7.4

```

## Ævar Arnfjörð Bjarmason, 2011-03-07 12:00

Subject: Re: [PATCH] gitignore: ignore GNU GLOBAL tag files
Message-ID: <AANLkTinG_pTCyMHov6AexP0rc=PV3wu2TmH=wSkRQ7nH@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinG_pTCyMHov6AexP0rc%3DPV3wu2TmH%3DwSkRQ7nH%40mail.gmail.com
In-Reply-To: <1299473349-6248-1-git-send-email-namhyung@gmail.com>

```
On Mon, Mar 7, 2011 at 05:49, Namhyung Kim <namhyung@gmail.com> wrote:

>  /TAGS
> +/GTAGS
> +/GRTAGS
> +/GPATH
> +/GSYMS
>  /cscope*
>  *.obj
>  *.lib

What causes these to be added?

```

## Matthieu Moy, 2011-03-07 12:07

Subject: Re: [PATCH] gitignore: ignore GNU GLOBAL tag files
Message-ID: <vpqtyffrv68.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpqtyffrv68.fsf%40bauges.imag.fr
In-Reply-To: <AANLkTinG_pTCyMHov6AexP0rc=PV3wu2TmH=wSkRQ7nH@mail.gmail.com>

```
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:

> On Mon, Mar 7, 2011 at 05:49, Namhyung Kim <namhyung@gmail.com> wrote:
>
>>  /TAGS
>> +/GTAGS
>> +/GRTAGS
>> +/GPATH
>> +/GSYMS
>>  /cscope*
>>  *.obj
>>  *.lib
>
> What causes these to be added?

I don't know, but I suspect they are generated by some variant of
(e|c)tags which do not appear in our Makefile.

If this is the case, I'd say the place to put these is in a user-wide
.gitignore (cf. core.excludesfile).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```

## Roberto Vargas Caballero, 2011-03-07 13:02

Subject: Re: [PATCH] gitignore: ignore GNU GLOBAL tag files
Message-ID: <1299502961.810.25.camel@hal9000.shike2.com>
URL: https://gitlist.dev/e/1299502961.810.25.camel%40hal9000.shike2.com
In-Reply-To: <vpqtyffrv68.fsf@bauges.imag.fr>

```
El lun, 07-03-2011 a las 13:07 +0100, Matthieu Moy escribió:
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> 
> > On Mon, Mar 7, 2011 at 05:49, Namhyung Kim <namhyung@gmail.com> wrote:
> >
> >>  /TAGS
> >> +/GTAGS
> >> +/GRTAGS
> >> +/GPATH
> >> +/GSYMS
> >>  /cscope*
> >>  *.obj
> >>  *.lib
> >
> > What causes these to be added?
> 
> I don't know, but I suspect they are generated by some variant of
> (e|c)tags which do not appear in our Makefile.


It is generated by GNU GLOBAL (http://www.gnu.org/software/global/).

```

## Namhyung Kim, 2011-03-08 01:42

Subject: Re: [PATCH] gitignore: ignore GNU GLOBAL tag files
Message-ID: <1299548542.1467.22.camel@leonhard>
URL: https://gitlist.dev/e/1299548542.1467.22.camel%40leonhard
In-Reply-To: <vpqtyffrv68.fsf@bauges.imag.fr>

```
2011-03-07 (월), 13:07 +0100, Matthieu Moy:
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> 
> > On Mon, Mar 7, 2011 at 05:49, Namhyung Kim <namhyung@gmail.com> wrote:
> >
> >>  /TAGS
> >> +/GTAGS
> >> +/GRTAGS
> >> +/GPATH
> >> +/GSYMS
> >>  /cscope*
> >>  *.obj
> >>  *.lib
> >
> > What causes these to be added?
> 
> I don't know, but I suspect they are generated by some variant of
> (e|c)tags which do not appear in our Makefile.
> 
> If this is the case, I'd say the place to put these is in a user-wide
> .gitignore (cf. core.excludesfile).
> 

Yes, they are from GNU GLOBAL source code tag system. And sorry, I
didn't aware of that config variable. I'll use it for my environments
then.

Thanks.

-- 
Regards,
Namhyung Kim

```
