aboutsummaryrefslogtreecommitdiff
path: root/models/update.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-04-30 10:24:00 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-04-30 10:24:00 +0800
commita85f242030f8fa0d74c9d82485d0649926bc6db4 (patch)
tree43c7850b7c01c635d36f368c108f6305b10e13f2 /models/update.go
parentcdc843f06b90acf71211a684ba32cd92c765230d (diff)
parent0d6856dbe73c8041451743946fb324663350a687 (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/models/update.go b/models/update.go
index 2f59547b..648c45f1 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) {