summaryrefslogtreecommitdiffstats
path: root/vendor/github.com
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 17:08:21 +0100
committerSandro Santilli <strk@kbt.io>2016-11-07 17:08:21 +0100
commit0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0 (patch)
tree7ec5e31249bca75a1a288c7b6ac2e4d2a10a1f79 /vendor/github.com
parent80eea77953ab5f1f12e1a01f1930b72c360a5c76 (diff)
downloadgitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.tar.gz
gitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.zip
More MixedCase consts
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/go-gitea/git/hook.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/go-gitea/git/hook.go b/vendor/github.com/go-gitea/git/hook.go
index 20da99392a..086bf7126d 100644
--- a/vendor/github.com/go-gitea/git/hook.go
+++ b/vendor/github.com/go-gitea/git/hook.go
@@ -102,13 +102,13 @@ func ListHooks(repoPath string) (_ []*Hook, err error) {
}
const (
- HOOK_PATH_UPDATE = "hooks/update"
+ HookPathUpdate = "hooks/update"
)
// SetUpdateHook writes given content to update hook of the reposiotry.
func SetUpdateHook(repoPath, content string) (err error) {
log("Setting update hook: %s", repoPath)
- hookPath := path.Join(repoPath, HOOK_PATH_UPDATE)
+ hookPath := path.Join(repoPath, HookPathUpdate)
if com.IsExist(hookPath) {
err = os.Remove(hookPath)
} else {