Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: git log -S doesn't find some commits

From: Pieter de Bie <hidden>
Date: 2016-06-15 22:45:36

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help