Closed mhupman closed 10 years ago
If a user hasn't set up any githooks, the .git/hooks/ directory won't exist. Perhaps https://github.com/robfig/glock/blob/b92928ade02de4e5f3a397564c9b9e3c26eb00f0/install.go#L59 could be modified to create the directory structure if it doesn't already exist.
.git/hooks/
I didn't realize that! Agreed that this would be a good change. (Sorry for the delay, I wasn't getting notifications for issues)
Fixed by https://github.com/robfig/glock/commit/433b4dea20f2cc7074b4faefdd1adb39734ae51a
If a user hasn't set up any githooks, the
.git/hooks/
directory won't exist. Perhaps https://github.com/robfig/glock/blob/b92928ade02de4e5f3a397564c9b9e3c26eb00f0/install.go#L59 could be modified to create the directory structure if it doesn't already exist.