3 ms·
If I were to guess, I would think grep has to traverse the directory tree while git knows all the file names already.
by reddit_clone 13y ago
If I were to guess, I would think grep has to traverse the directory tree while git knows all the file names already.
- abc_lisper 13y agoThis I don't believe to be true. For many years, I have kept a file with all the filenames in it, and did a grep on the files in the list, and it is slower than git-grep.