login
Header Space

 
 

Re: How can I figure out what commits relate to a given diff?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven A. Falco <sfalco@...>
Cc: <git@...>
Date: Thursday, May 22, 2008 - 11:48 am

On Thu, May 22, 2008 at 11:21:34AM -0400, "Steven A. Falco" <sfalco@harris.com> wrote:

Something like:

for i in `git rev-list HEAD`
do
        git ls-tree -r $i|grep -q cb4e8ed && echo "$i contains cb4e8ed"
done

could do it for you.

I don't think there is a --contains for blobs, like git branch
--contains works for commits.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How can I figure out what commits relate to a given diff?, Steven A. Falco, (Thu May 22, 11:21 am)
perforce import: git-p4 memory usage, Luke Diamand, (Fri May 23, 6:07 am)
Re: perforce import: git-p4 memory usage, Logan Kennelly, (Fri May 23, 6:27 pm)
Re: perforce import: git-p4 memory usage, Andreas Ericsson, (Fri May 23, 7:25 am)
Re: How can I figure out what commits relate to a given diff?, Miklos Vajna, (Thu May 22, 11:48 am)
speck-geostationary