Skip to content

Pass repository path directly in GetCustomHooks

Sami Hiltunen requested to merge smh-repoutil-no-locator into master

GetCustomHooks is currently taking a repository and a locator as a parameter to construct the repository path where to get the custom hooks from. This make the function less flexible as it assumes the caller has a locator or a configuration object to construct a locator from available. It would be better if the function was just concerned with extracting the hooks from a given repository rather than also locating the repository. This commit changes the function to take a repository path in directly so its more flexible.

Merge request reports