user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* Searching via git grep?
@ 2018-07-19 20:47 Eric W. Biederman
  2018-07-19 21:12 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Eric W. Biederman @ 2018-07-19 20:47 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta


Have you considered searching public inboxes via git grep?

For a big server lore.kernel.org with a lot of searches and a lot of
clients it might not make sense.  But for home use where searches are
rare and the indexes can not be kept in ram, but the mailbox might fit
git grep sounds attractive?

I performed a preliminary test and just running git grep manually and
I was search all of the git mailling list archive pretty much
immediately.

For v1 it is just 'git grep <regexp> HEAD'
For v2 it is 'git --rev-list --all | xargs git grep <regexp>'

If this sounds reasonable to you I will take a look at what it takes to
wire that up over the next while.

Eric

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-20 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 20:47 Searching via git grep? Eric W. Biederman
2018-07-19 21:12 ` Eric Wong
2018-07-19 22:27   ` Eric W. Biederman
2018-07-20  6:11     ` Eric Wong
2018-07-20 12:37       ` Eric W. Biederman
2018-07-20 23:56         ` Eric W. Biederman

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).