Commit 6abb5d0
authored
Correct search tool path handling and ugrep recursion (#38)
Fix ugrep recursion and path handling
- Add -r flag for recursive search in subdirectories
- Fix relative path handling in parse_search_output to work correctly with all search tools
- Change ugrep file pattern from -g to --include for proper glob filtering
This PR resolves critical ugrep integration issues where:
1. ugrep wasn't searching subdirectories due to missing -r flag
2. Relative paths from ugrep were incorrectly converted by os.path.relpath()
Both changes are necessary and complementary for proper ugrep functionality.1 parent 7de0293 commit 6abb5d0
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments