On Tue, Oct 2, 2012 at 5:41 PM, Petr Sobotka <sobot...@gmail.com> wrote: > Hi Jacobo, > > I think that there is argument "-z " to set depth how many symlinks should > be followed. > Try to set it to 0. (I believe that default value is 3) > > -- > Cheers, > Petr Sobotka aka Pietro > > 2012/10/2 Jacobo de Vera <de...@jacobodevera.com> >> >> Hi All, >> >> I'm using OpenGrok to index just one big project, and we have a couple >> of symlinks to access deeply nested directories with ease. I was under >> the impression the OpenGrok would, by itself, and unless told >> otherwise, skip all symlinks. However, I am finding this is not the >> case. When I am creating the indexes, symlinks to directories are >> explored and all files inside are added, which results in duplicate >> results with different paths when doing any searches. Is there any >> setting that I can use to prevent this? Right now I'm simply deleting >> the symlinks before indexing, but I'm hoping to find some cleaner >> solution that doesn't involve modifying the repository. Is there one? >> >> Thanks and regards, >> >> -- >> Jacobo de Vera >> _______________________________________________ >> opengrok-discuss mailing list >> opengrok-discuss@opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss > >
Hi, The -z option doesn't seem to be it: -z number depth of scanning for repositories in directory structure relative to source root I still tried it, with no success, though. I could not find anything in the usage that refers to symlink other than the option to allow specific symlinks, which made me think that by default they would not be followed, but it seems they are followed. Any other suggestions? Thanks and regards, -- Jacobo de Vera _______________________________________________ opengrok-discuss mailing list opengrok-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss