Re: excluding some paths

Shigio Yamaguchi <[email protected]>
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hi,
> Is it possible to define witch phats gtags wil traverse?
> 
> i.e.
> 
> i have folder strcture like this:
> src-|
>     |-dir1
>     |
>     |-dir2
>     |
>     |-dir3
> 
> and i only want gtags to search dir1 and dir3, as if dir2 didn't exist.

You can do it using configuration variable 'skip'.
Please add entry ':skip=/dir2/:' to your configuration file like this:

[$HOME/.globalrc]
+----------------------------------------------------
|	...
|        :skip=y.tab.c,y.tab.h:\
|        :skip=SCCS/,RCS/,CVS/,CVSROOT/,.deps/:\
|        :skip=/dir2/:\					<= add
|	...
+----------------------------------------------------

And you can execute gtags with skipping dir2 directory.
Please read online manual for the details.

Good luck!
--
Shigio Yamaguchi <[email protected]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.