threads / patch / 26680

patchgitignore: ignore GNU GLOBAL tag files

Subject: [PATCH] gitignore: ignore GNU GLOBAL tag files

## tl;dr

5 messages between Mar 7, 2011 and Mar 8, 2011. Diffs are folded; open one to read it.

replies: 4people: 4as markdown or json

Namhyung Kim· Mar 7, 2011, 04:49 UTC · lore
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 .gitignore |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Show changes to .gitignore +4 −0
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· Mar 7, 2011, 12:00 UTC · re: Namhyung Kim · lore

Re: [PATCH] gitignore: ignore GNU GLOBAL tag files

On Mon, Mar 7, 2011 at 05:49, Namhyung Kim <namhyung@gmail.com> wrote:
Show 8 quoted lines
>  /TAGS
> +/GTAGS
> +/GRTAGS
> +/GPATH
> +/GSYMS
>  /cscope*
>  *.obj
>  *.lib
What causes these to be added?
Matthieu Moy· Mar 7, 2011, 12:07 UTC · re: Ævar Arnfjörð Bjarmason · lore

Re: [PATCH] gitignore: ignore GNU GLOBAL tag files

Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 12 quoted lines
> 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· Mar 7, 2011, 13:02 UTC · re: Matthieu Moy · lore

Re: [PATCH] gitignore: ignore GNU GLOBAL tag files

El lun, 07-03-2011 a las 13:07 +0100, Matthieu Moy escribió:
Show 17 quoted lines
> Æ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· Mar 8, 2011, 01:42 UTC · re: Matthieu Moy · lore

Re: [PATCH] gitignore: ignore GNU GLOBAL tag files

2011-03-07 (월), 13:07 +0100, Matthieu Moy:
Show 21 quoted lines
> Æ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

← back to recent threads