Re: git log -S doesn't find some commits
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 4, 2008, 23:15 UTC
- Message-ID
- <alpine.DEB.1.00.0811050014310.30769@pacific.mpi-cbg.de>
- In-Reply-To
- <87fxm7rtb7.fsf@gollum.intra.norang.ca>
Hi,
On Tue, 4 Nov 2008, Bernt Hansen wrote:
> Commits B, C, and D are not included in the git log -S output even > though with gitk you can see that 'org-publish-validate-link' is in the > patch.
It is not sufficient for it to be in the patch, it has to be added or deleted in whole. So for example if you had a line
org-publish-validate-link Hello
and you changed it to
org-publish-validate-link World
git log -SWorld will find the commit, but git log -Sorg-publish-validate-link will not.
Hth, Dscho