Is there a way to show the git-diff filtered by a given pattern.
Something like
git grepdiff pattern changed file +++ some sentence with pattern change
Have you tried git diff -S or git diff -G".*string.*"? Note that they are not equivalent, see the documentation about pickaxe for what -S does.
git diff -S
git diff -G".*string.*"