Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cindex does not follow and index symlinked paths #11

Open
GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments
Open

cindex does not follow and index symlinked paths #11

GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create some symlinks to some source code in a directory.
2. Index that directory.
3. Search for symbols which are only in symlinked source files.

What is the expected output? What do you see instead?

I expect to see symlinked files listed by csearch.
csearch only indexed regular files.

What version of the product are you using? On what operating system?

0.1 on Mac OS X 10.6

Please provide any additional information below.

Maybe additionally provide an option to restrict or follow symlinks to certain 
filesystems for better control.

Original issue reported on code.google.com by manpreet...@gmail.com on 7 Feb 2012 at 4:00

@GoogleCodeExporter
Copy link
Author

Avoiding symlinks was specifically disabled with revision 
http://code.google.com/p/codesearch/source/detail?r=f9a003c603e3e456bed3ff2fb738
bb63d53a6388

A '-follow-symlinks' option would be easy to add to toggle this behaviour.

Original comment by dgryski on 8 Feb 2012 at 1:48

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Adding a patch implementing the option.

Original comment by manpreet...@gmail.com on 7 Sep 2012 at 5:51

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

Just noting that this is implemented in my fork at

https://github.com/junkblocker/codesearch 

if anybody is interested.

Original comment by manpreet...@gmail.com on 29 Mar 2014 at 12:00

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant