Newer versions of Git support git log -G<regex>:
git log -G'helper.*function' --full-history --all
This command will search for the regex in the diff of each commit, and only display commits which introduced a change that matches the regex.
Newer versions of Git support git log -G<regex>:
git log -G'helper.*function' --full-history --all
This command will search for the regex in the diff of each commit, and only display commits which introduced a change that matches the regex.