git log -S doesn't find some commits
From: Bernt Hansen <hidden>
Date: 2016-06-15 22:45:36
Hi!
The org-mode repository at git://repo.or.cz/org-mode.git has history
that looks like this:
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
reports 3 commits
F, A, and something earlier than A
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.
Am I doing something wrong or is this a bug?
$ git --version
git version 1.6.0.3.523.g304d0
I've marked the commits in column one below.
$ git log --pretty=oneline
F 8ea076e2de2b3721bd813ea5a2df1b53d0c25055 Updated org-publish.el (now version 1.8
e322abfd14267a154a06deb1e7ef5a432b17f68a Merge branch 'add-recursion-to-org-publ
6208fb43cb1bbab852560cf506c7d12674307492 Minor docstring fix.
df54646ab324b11e99279dc0b6dfa161a1c72c7d Fixed the Timeline node.
D 4dcecb97bf4586c26f7e955980caa7e9630ae9a7 More cleaning.
X eda5a993cab01acd6878ab6c982b075d2cba167b *** empty log message ***
C b05bc10e6794c902df679b906d8bd6ec3f5633a9 Cleaned up code.
B 837c81ce51d90427bbcc32b06d84505b1a1e6b2a Use alist instead of a hashtable.
960449c9e93725f791bd450d3c85fd71339efb09 Cleaned up the buffer.
bf09955fec57307616926959b31e19af42520db0 Bugfix for `org-archive-subtree'.
f247d16417f17140a5bd5d03db164cc74191d9c1 Added support for :maxlevel and :skip-e
bd172412fafaa0386762826677f9929c9c4fc41c Added support for recursive publication
96e96fa684585e9916f4d6cdde20d4df7ff3f7d7 Added (require 'erc-log).
Thanks for git!
Bernt