robfig / glock

MIT License
230 stars 27 forks source link

.git/hooks/post-merge: no such file or directory #2

Closed mhupman closed 10 years ago

mhupman commented 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.

robfig commented 10 years ago

I didn't realize that! Agreed that this would be a good change. (Sorry for the delay, I wasn't getting notifications for issues)

robfig commented 10 years ago

Fixed by https://github.com/robfig/glock/commit/433b4dea20f2cc7074b4faefdd1adb39734ae51a