diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-22 03:41:47 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-22 03:41:47 -0400 |
commit | 2a9da4b8e54736c3a8f7ecc41f3c75fdcfb70f9b (patch) | |
tree | 1adf628fdbd240eb5d43133b1a0f25b5cae40ea2 | |
parent | 9a5e49cccb806c71a1ff7f8aa86111379f42f5b0 (diff) | |
download | gitea-2a9da4b8e54736c3a8f7ecc41f3c75fdcfb70f9b.tar.gz gitea-2a9da4b8e54736c3a8f7ecc41f3c75fdcfb70f9b.zip |
Fix #92
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | modules/base/base_redis.go | 1 | ||||
-rw-r--r-- | routers/repo/release.go | 1 |
3 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ import ( // Test that go1.2 tag above is included in builds. main.go refers to this definition. const go12tag = true -const APP_VER = "0.3.0.0421 Alpha" +const APP_VER = "0.3.0.0422 Alpha" func init() { base.AppVer = APP_VER diff --git a/modules/base/base_redis.go b/modules/base/base_redis.go index 327af8415b..42430df774 100644 --- a/modules/base/base_redis.go +++ b/modules/base/base_redis.go @@ -4,6 +4,7 @@ package base import ( _ "github.com/gogits/cache/redis" + _ "github.com/gogits/session/redis" ) func init() { diff --git a/routers/repo/release.go b/routers/repo/release.go index a4baa4792c..b386bac804 100644 --- a/routers/repo/release.go +++ b/routers/repo/release.go @@ -87,7 +87,6 @@ func Releases(ctx *middleware.Context) { return } tags.rels[i].NumCommitsBehind = commitsCount - tags.rels[i].NumCommits - tags.rels[i].Created = commit.Author.When } } |