summaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 22:20:28 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 22:20:28 -0400
commit190b83e05eb1ade979c0e17314ab892832d62e5b (patch)
treeebf8b9c6c7f8f383cfc057c3f33aa984f698a428 /models/update.go
parentd2b53dd43b3bc9719985033bc92b76abb9515b4d (diff)
downloadgitea-190b83e05eb1ade979c0e17314ab892832d62e5b.tar.gz
gitea-190b83e05eb1ade979c0e17314ab892832d62e5b.zip
push tag support
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/update.go b/models/update.go
index ba0e979348..2f59547b72 100644
--- a/models/update.go
+++ b/models/update.go
@@ -78,7 +78,7 @@ func Update(refName, oldCommitId, newCommitId, userName, repoName string, userId
//commits = append(commits, []string{lastCommit.Id().String(), lastCommit.Message()})
if err = CommitRepoAction(userId, userName, actEmail,
- repos.Id, repoName, git.RefEndName(refName), &base.PushCommits{l.Len(), commits}); err != nil {
+ repos.Id, repoName, refName, &base.PushCommits{l.Len(), commits}); err != nil {
qlog.Fatalf("runUpdate.models.CommitRepoAction: %v", err)
}
}