refactor: remove redundant function definition
requested to merge rvt/refactor-coalesce-commit-function into rvt/refactor-remove-commit-mock-functions
Created by: rvantonder
Stacked on #7608
The searchCommitDiffsInRepo
is just a passhthrough function now, get rid of ittt.