Skip to contentSkip to conversation

something like 'find' in revisions

DISCUSSION Ittay Dror 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Ittay Dror

author
#0 lore raw

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

Signature · 2 lines
--
Ittay Dror <[email protected]>
#1 lore raw

Hi,

Quoted 2 lines · Ittay Dror

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