diff options
author | Lunny Xiao | 2017-02-25 22:54:40 +0800 |
---|---|---|
committer | GitHub | 2017-02-25 22:54:40 +0800 |
commit | cd1821a7e292b05e04fcc2a969b42d06ab512849 (patch) | |
tree | 084f97bfb24a37ec3028d15fdacb51e86cfcc368 /main.go | |
parent | e8e56da9ac321aacb3c06968997a45c2f133cd4e (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.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -40,5 +40,4 @@ func main() { if err != nil { log.Fatal(4, "Failed to run app with %s: %v", os.Args, err) } - } |