in bunch-cli/src/main/kotlin/org/jetbrains/bunches/hooks/hooks.kt [87:94]
fun hookCommand(settings: HooksSettings) {
val dotGitPath = File(settings.path, ".git")
if (!dotGitPath.isDirectory) {
exitWithError("Directory ${settings.path} is not a repository")
}
doHookCommand(settings)
}