On Tue, Aug 14, 2012 at 05:00:51PM +0200, Lubos Kosco wrote:
  
>    afaik -I ignores per pattern , not per extension, so your awareness isn't
>    correct
>    honestly I'd like this ignoring to work better so it would distinguish
>    between directories and files at least, so imho it's far from perfect, but
>    then it's usable for the time being

Well, if the ignored name "pattern" contains a '*' or '?', it behaves
similar to shell globbing. If no match, it must be equal to the basename of
the file or directory. If still not matched, it gets ignored if the full
path or the basename of the file/dir in question ends with the ignored
name. So a little bit fuzzy, but should allow, what you need.

Have fun,
jel.

see
http://src.iws.cs.ovgu.de/source/xref/opengrok-jel/src/org/opensolaris/opengrok/index/Filter.java#match
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to