diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-14 14:50:37 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-14 14:50:37 +0800 |
commit | 8283e16ef7af197ee77b1be412bf875ae97c789e (patch) | |
tree | c145517a3b885c49408f35e0cb9c9aabe6201a35 /models/update.go | |
parent | 6cee65db5a6e6ef7372f19d45c22a416e130afed (diff) | |
parent | f644cefa865c04b440902695ba90114b224c640d (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/update.go b/models/update.go index ba0e9793..2f59547b 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) } } |