diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-11 10:27:13 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-11 10:27:13 +0800 |
commit | db39e58a139ef8581b4b61d2d4a68b4e5324acdf (patch) | |
tree | 7c73c2b6fa71ec1a970fe17f67e10af49e6ec9c9 /serve.go | |
parent | 8faa0dbcd77ec17bbf88041f46e2fc48f6ca6f31 (diff) | |
download | gitea-db39e58a139ef8581b4b61d2d4a68b4e5324acdf.tar.gz gitea-db39e58a139ef8581b4b61d2d4a68b4e5324acdf.zip |
add actions for http push
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -189,4 +189,13 @@ func runServ(k *cli.Context) { println("execute command error:", err.Error()) qlog.Fatal("execute command error: " + err.Error()) } + + //refName := os.Getenv("refName") + //oldCommitId := os.Getenv("oldCommitId") + //newCommitId := os.Getenv("newCommitId") + + //qlog.Error("get envs:", refName, oldCommitId, newCommitId) + + // update + //models.Update(refName, oldCommitId, newCommitId, repoUserName, repoName, user.Id) } |