On Wed, Nov 4, 2009 at 7:42 AM, Patrick Higgins <patrick.allen.higgins@xxxxxxxxx> wrote: > Given that much of the repository is stored in compressed packs, I > can't just use grep to look for the words. To get around this, I've > unpacked the objects, use a Perl script (filtinf example script) to > decompress them and then use grep (this has proven to be quite slow). > Is that going to find every possible occurrence if all the relevant > files are plain text? > Is there an easier way to search the repository? The way I'm doing it > has required some awfully deep knowledge to expire and prune > everything. I feel like I must be missing something. Instead of expire and prune, I'd clone the repo to some other location, and search in that clone. You'd still need the commands that Nicolas gave in his reply but you wouldn't get any false positivies from missing some reflog or something kept a ref alive. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html