From: Pieter de Bie Date: Tue, 04 Nov 2008 23:06:42 GMT Subject: Re: git log -S doesn't find some commits Message-ID: <0A948471-7FAA-489A-A86C-D014C6E4C8C9@ai.rug.nl> In-Reply-To: <87fxm7rtb7.fsf@gollum.intra.norang.ca> On Nov 4, 2008, at 11:59 PM, Bernt Hansen wrote: > o--o--o--o-------------------M--F--o-- .. --o master > / / > A--o-- .. --o--o-------------o--o--B--C--X--D > > > where commits A, B, C, D, and F all modify lines with > 'org-publish-validate-link'. M is a merge commit and X has an empty > log > message. > > $ git checkout 8ea076e2de2b3721bd813ea5a2df1b53d0c25055 # commit F > $ git log -Sorg-publish-validate-link B,C,X and D are not part of 'F', so why should they be included? You can do something like 'git log -S... F D' to show commits that are also in D, or git log --all to show all commits.