git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Most recent revision that contains a string
@ 2016-08-20 21:41 Nikolaus Rath
  2016-08-21  1:30 ` Josh Triplett
  2016-08-21  2:46 ` Eric Wong
  0 siblings, 2 replies; 7+ messages in thread
From: Nikolaus Rath @ 2016-08-20 21:41 UTC (permalink / raw)
  To: git

Hello,

What's the easiest way to find the most recent revision (of any file in
the repository, including those that have been deleted in the current
HEAD) that contains a given string?

I was hoping that "git grep" would do this (like in Mercurial), but as
far as I can tell it only greps through the working copy. Or is there a
trick that I'm missing?

Thanks,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

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

end of thread, other threads:[~2016-08-23 19:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20 21:41 Most recent revision that contains a string Nikolaus Rath
2016-08-21  1:30 ` Josh Triplett
2016-08-21  8:13   ` Andreas Schwab
2016-08-21  8:48     ` Josh Triplett
2016-08-21  2:46 ` Eric Wong
2016-08-22 18:06   ` Nikolaus Rath
2016-08-23 19:36     ` Junio C Hamano

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

	https://80x24.org/mirrors/git.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).