ancestor-sibling:.gitNOTE: It may not be instant. On my "Actually Everything" profile (lacks Options/Indexes/Exclude & Options/Indexes/Properties entries & includes external drives & backups -instance "Actually") instantly crashes. But on my normal "User files" profile it takes 5-10seconds.
Background:
I'm trying to create a filter that only searches code repositories. The way I'm trying to go about it is if any ancestor folder has a .git folder, then include that folder & all its contents except the actual git folder. I've been struggling to figure out a way to do this so asked CoPilot:
To which it answeredI want you to keep these pages in mind for my next question, also feel free to search the entire forum.
- viewtopic.php?t=10176
- viewtopic.php?t=10099
- viewtopic.php?f=12&t=11949
- viewtopic.php?f=12&t=10860
- viewtopic.php?f=12&t=9795
- viewtopic.php?t=9787
In Voidtools Everything, I want to search all folder & all the items they contain, only if there's a parent folder that contains a .git\ or node_modules folder. But do not include results inside those 2 folders.
(ancestor-sibling:.git | ancestor-sibling:node_modules) !path:\.git\ !path:\node_modules\When I pasted it into Everything, it crashed & didn't save my earlier queries where I was almost there but couldn't get it search files. It'd only just show the folders. Any help with this would be greatly appreciated.
I was using 1.5.1402a, but came here and saw 1.5.1403a was out. I've updated but the behavior is still the same.