aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorLunny Xiao2017-02-25 22:54:40 +0800
committerGitHub2017-02-25 22:54:40 +0800
commitcd1821a7e292b05e04fcc2a969b42d06ab512849 (patch)
tree084f97bfb24a37ec3028d15fdacb51e86cfcc368 /main.go
parente8e56da9ac321aacb3c06968997a45c2f133cd4e (diff)
Move push update to post-receive and protected branch check to pre-receive (#1030)
* move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index b7e8244b4..6576bf3e8 100644
--- a/main.go
+++ b/main.go
@@ -40,5 +40,4 @@ func main() {
if err != nil {
log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)
}
-
}