From cd1821a7e292b05e04fcc2a969b42d06ab512849 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 25 Feb 2017 22:54:40 +0800 Subject: 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 --- main.go | 1 - 1 file changed, 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index b7e8244b4b..6576bf3e89 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) } - } -- cgit v1.2.3