Reputation: 15313
I want to get commits in any branches, which changes (diff with the previous commit) contain specific identifier. Search in the file history is not sufficient, because the function (target identifier is it's name) was moved from file to file.
Upvotes: 0
Views: 57
Reputation: 363797
Try
git log -p --branches
This gives patches for all commits pointed to by a branch, directly or indirectly.
Upvotes: 1