diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
commit | 62d23e91541550d0478c4884696e918a0e818b4f (patch) | |
tree | 335e18b41b15a419233e5117d1cbc43fa66f2b5c /models/update.go | |
parent | 59d0e73c3507296b31c8e741b44afc7bfe1eb695 (diff) | |
download | gitea-62d23e91541550d0478c4884696e918a0e818b4f.tar.gz gitea-62d23e91541550d0478c4884696e918a0e818b4f.zip |
HTTP no follow and offline mode
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/models/update.go b/models/update.go index 2f59547b72..648c45f160 100644 --- a/models/update.go +++ b/models/update.go @@ -1,3 +1,7 @@ +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package models import ( @@ -5,9 +9,11 @@ import ( "os/exec" "strings" + qlog "github.com/qiniu/log" + "github.com/gogits/git" + "github.com/gogits/gogs/modules/base" - qlog "github.com/qiniu/log" ) func Update(refName, oldCommitId, newCommitId, userName, repoName string, userId int64) { |