aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-15 15:27:19 -0700
committerUnknwon <u@gogs.io>2016-08-15 15:27:19 -0700
commit4a46613916cdfa6a168746aba6abcd698cd17875 (patch)
tree0129f716668af004619b4cd7a937c0560d34ac0c /cmd
parent6c8fcb3af252f6dfc76021b5acb10ac672dd8ca4 (diff)
downloadgitea-4a46613916cdfa6a168746aba6abcd698cd17875.tar.gz
gitea-4a46613916cdfa6a168746aba6abcd698cd17875.zip
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 3b43a71cc2..cdf42657c8 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -88,7 +88,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.7"},
- {"github.com/gogits/git-module", git.Version, "0.3.5"},
+ {"github.com/gogits/git-module", git.Version, "0.3.6"},
{"github.com/gogits/go-gogs-client", gogs.Version, "0.12.0"},
}
for _, c := range checkers {