commit | d9d84288482b14b19527db3f0a0d4b4fc5a6bbd0 | [log] [tgz] |
---|---|---|
author | Marko Mudrinic <mudrinic.mare@gmail.com> | Sun Jul 16 20:59:48 2017 +0200 |
committer | Kevin Burke <kev@inburke.com> | Mon Jul 17 18:06:47 2017 +0000 |
tree | ee4ba9d3f9e9b776f35e1b72c17c6bb87d9d95f5 | |
parent | 97320b9a100175cf5220b3e1a442d706295dafcc [diff] |
git-codereview: create hooks directory if it doesn't exist Fixes golang/go#21028 On some versions of Git, "git init" will not create ".git/hooks directory", causing "git change" to fail. This fix will check if the hooks directory exists, and if not, create it. Change-Id: I6a9e688740fde8701e5d48630686039c8ebf4172 Reviewed-on: https://go-review.googlesource.com/49070 Reviewed-by: Kevin Burke <kev@inburke.com>