threads / discuss / 14310

something like 'find' in revisions

Subject: something like 'find' in revisions

## tl;dr

2 messages between Jul 6, 2008 and Jul 6, 2008.

replies: 1people: 2as markdown or json

Ittay Dror· Jul 6, 2008, 11:05 UTC · lore
Hi,

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)?

Thank you, Ittay

-- 
--
Ittay Dror <ittay.dror@gmail.com>
Johannes Schindelin· Jul 6, 2008, 12:53 UTC · re: Ittay Dror · lore

Re: something like 'find' in revisions

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

← back to recent threads