GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Grep Tool Fails on Symlinks · Issue #7498 · anomalyco/opencode Closed DescriptionRan into an issue where The ProblemWhen you run OpenCode from a symlink farm (think
How to ReproduceSet up a quick test case: mkdir /tmp/symlink-test && cd /tmp/symlink-test ln -s /path/to/real/project/src src ln -s /path/to/real/project/packages packages Now run OpenCode from Diving into the CodeThe issue is pretty clear once you look at the implementation. There's an internal inconsistency in how ripgrep is called:
So the same tool behaves differently depending on which wrapper function you use. The Weird TwistHere's what got me: when ripgrep isn't available and the code falls back to standard FixNeed to add
That should make all the file-finding tools behave consistently across symlinked directories. Reacted by Sumon Sinha and Xendarboh Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |