aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-06-27 23:40:36 +0800
committerUnknwon <u@gogs.io>2016-06-27 23:40:36 +0800
commit73b4acbb639e6564f2a47e995f21ee50d78b283a (patch)
tree484f6e0e7f30bbaa55fd6d254ec442e3d0c1c282
parent8a248696e94e2756dee3f2a000fe8609a0c2111c (diff)
downloadgitea-73b4acbb639e6564f2a47e995f21ee50d78b283a.tar.gz
gitea-73b4acbb639e6564f2a47e995f21ee50d78b283a.zip
Update glide.yaml
-rw-r--r--cmd/web.go2
-rw-r--r--glide.lock2
-rw-r--r--gogs.go2
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/repo/view_list.tmpl7
5 files changed, 8 insertions, 7 deletions
diff --git a/cmd/web.go b/cmd/web.go
index f88c3385d8..d7329538c3 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -87,7 +87,7 @@ func checkVersion() {
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},
{"gopkg.in/ini.v1", ini.Version, "1.8.4"},
{"gopkg.in/macaron.v1", macaron.Version, "1.1.2"},
- {"github.com/gogits/git-module", git.Version, "0.2.9"},
+ {"github.com/gogits/git-module", git.Version, "0.3.0"},
{"github.com/gogits/go-gogs-client", gogs.Version, "0.7.4"},
}
for _, c := range checkers {
diff --git a/glide.lock b/glide.lock
index 51ab077b8f..bdbfc3fd88 100644
--- a/glide.lock
+++ b/glide.lock
@@ -41,7 +41,7 @@ imports:
- name: github.com/gogits/cron
version: 96040e4fab17baa0391ce571694e4ccb5fce5dac
- name: github.com/gogits/git-module
- version: 1f1117c3969f53809bb09f6da07ec2493b2aa07f
+ version: 1dad9765c0adf04fe1eabadfb1a9189157dc50af
- name: github.com/gogits/go-gogs-client
version: 01270dfe22e92d99ce9402fedba4530ad8810100
- name: github.com/issue9/identicon
diff --git a/gogs.go b/gogs.go
index 74157c89b7..25d3494c0a 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.9.31.0627"
+const APP_VER = "0.9.31.0628"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/templates/.VERSION b/templates/.VERSION
index 3fc8b249bb..e3cd2c7396 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.9.31.0627 \ No newline at end of file
+0.9.31.0628 \ No newline at end of file
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index c06ab3441f..4db9e39057 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -30,10 +30,11 @@
{{if $entry.IsSubModule}}
<td>
<span class="icon octicon octicon-file-submodule"></span>
- {{if $commit.RefUrl AppUrl}}
- <a href="{{$commit.RefUrl AppUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl AppUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a>
+ {{$refURL := $commit.RefURL AppUrl $.BranchLink}}
+ {{if $refURL}}
+ <a href="{{$refURL}}">{{$entry.Name}}</a> @ <a href="{{$refURL}}/commit/{{$commit.RefID}}">{{ShortSha $commit.RefID}}</a>
{{else}}
- {{$entry.Name}} @ {{ShortSha $commit.RefId}}
+ {{$entry.Name}} @ {{ShortSha $commit.RefID}}
{{end}}
</td>
{{else}}