git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: something like 'find' in revisions

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 6, 2008, 12:53 UTC
Message-ID
<alpine.LSU.1.00.0807061452330.3486@wbgn129.biozentrum.uni-wuerzburg.de>
In-Reply-To
<4870A700.8040205@gmail.com>
Hi,
On Sun, 6 Jul 2008, Ittay Dror wrote:
> How can I find files with a given name (or pattern) in my history (where 
> I don't know the exact path and some files have been removed)?

I'd grep in the output of "git rev-list --objects". Then I'd have the full name, and "git log --all -- <fullpath>" is my friend.

Ciao, Dscho

Previous: Ittay Dror
Message 2 of 2 in “something like 'find' in revisions”
  1. Ittay DrorJul 6, 2008
  2. Johannes SchindelinJul 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.