Re: Finding all commits which modify a file
- From
- Neal Groothuis <ngroot@lo-cal.org>
- Date
- Jan 23, 2012, 16:14 UTC
- Message-ID
- <41090.38.96.167.131.1327335283.squirrel@mail.lo-cal.org>
- In-Reply-To
- <4F1B4764.3010501@gmail.com>
> On 1/20/2012 3:35 PM, Neal Groothuis wrote: >> I'm trying to find /all/ commits that change a file in the >> repository...and its proving to be trickier than I thought. :-)
On 1/21/2012 6:16 PM, Neal Kreitzinger wrote:
> Does git-log --all help?
I don't see how it would. The commits are all reachable from HEAD, which would seem to be the problem that --all would correct.
What I'm trying to do is find the commits in which a file differs from that same file in any of its parents.
If I'm missing something, could you provide an example of using git-log --all to accomplish this?