From a0253cab62d02ac0ce5c55a6b1d08a76f281bf44 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 14 Feb 2017 17:21:55 -0500 Subject: [PATCH] vendor: update git-module --- vendor/github.com/gogits/git-module/hook.go | 1 + vendor/vendor.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/gogits/git-module/hook.go b/vendor/github.com/gogits/git-module/hook.go index fad81e432..6ba66be00 100644 --- a/vendor/github.com/gogits/git-module/hook.go +++ b/vendor/github.com/gogits/git-module/hook.go @@ -84,6 +84,7 @@ func (h *Hook) Update() error { } return nil } + os.MkdirAll(path.Dir(h.path), os.ModePerm) return ioutil.WriteFile(h.path, []byte(strings.Replace(h.Content, "\r", "", -1)), os.ModePerm) } diff --git a/vendor/vendor.json b/vendor/vendor.json index 8c657f556..3894bd42b 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -159,10 +159,10 @@ "revisionTime": "2016-08-10T03:50:02Z" }, { - "checksumSHA1": "eH7yo/XLaT4A9yurJ0rrRxdbBTE=", + "checksumSHA1": "bCfvbFm5XS4leTIpRaHEFtvaeYU=", "path": "github.com/gogits/git-module", - "revision": "4d18cee9bde82bffe8c91747f1585afbf06311b2", - "revisionTime": "2017-02-14T20:50:54Z" + "revision": "5ef701a1cd1e63b7037f23cf2878e5ee749207c0", + "revisionTime": "2017-02-14T22:20:55Z" }, { "checksumSHA1": "SdCLcPmklkXjPVMGkG1pYNmuO2Q=",