summaryrefslogtreecommitdiffstats
path: root/modules/middleware/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r--modules/middleware/context.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go
index 5784d756b2..46a5c1f65d 100644
--- a/modules/middleware/context.go
+++ b/modules/middleware/context.go
@@ -18,10 +18,11 @@ import (
"github.com/go-macaron/session"
"gopkg.in/macaron.v1"
+ "github.com/gogits/git-shell"
+
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/git"
"github.com/gogits/gogs/modules/log"
"github.com/gogits/gogs/modules/setting"
)
@@ -43,7 +44,7 @@ type RepoContext struct {
CommitID string
RepoLink string
CloneLink models.CloneLink
- CommitsCount int
+ CommitsCount int64
Mirror *models.Mirror
}