index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
SjonHortensius <SjonHortensius@users.noreply.github.com>
2016-06-27 10:10:12 +0200
committer
无闻 <u@gogs.io>
2016-06-27 16:10:12 +0800
commit
17a4d8a5e50d74df3bc464468101c19fb545b74e
(
patch
)
tree
e9c42b1c10b3bf4c49f8fdac9cf345132d838b57
/
models
parent
04592c385b669b4f3dc83405ff90b79629e93773
(
diff
)
Fix capitalisation of repo-name in news (#3203)
use 'official' repo.Name instead of incoming repoName; to enforce correct capitalisation
Diffstat
(limited to 'models')
-rw-r--r--
models/action.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index 91d43bae..bb4a585b 100644
--- a/
models/action.go
+++ b/
models/action.go
@@ -489,7 +489,7 @@ func CommitRepoAction(
Content: string(bs),
RepoID: repo.ID,
RepoUserName: repoUserName,
- RepoName: repoName,
+ RepoName: repo.Name,
RefName: refName,
IsPrivate: repo.IsPrivate,
}); err != nil {