5 ms·
If output is redirected, ag calls fstat on stdout and records the inode. It then ignores files based on inode rather than path: https://github.com/ggreer/the_s
by charliesome 10y ago
If output is redirected, ag calls fstat on stdout and records the inode. It then ignores files based on inode rather than path:
https://github.com/ggreer/the_silver_searcher/blob/b995d3b8269b9c395c1dc9ee45f0df9203942df9/src/options.c#L342-L347 https://github.com/ggreer/the_silver_searcher/blob/b995d3b82...