get function-to-commits and commit-to-functions working