From 62d23e91541550d0478c4884696e918a0e818b4f Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 27 Apr 2014 01:05:13 -0600 Subject: HTTP no follow and offline mode --- models/update.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'models/update.go') 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) { -- cgit v1.2.3