summaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-03 22:49:06 -0500
committerUnknwon <u@gogs.io>2015-11-03 22:49:06 -0500
commit3a81fdf092a39cc94f3bb896a42db8546bd5f39a (patch)
treea436e2de1aaafab77e985c550b165df7dc12f3ae /models/update.go
parent6f0a41b8b28ba33382ab8d655c0d015324be7647 (diff)
downloadgitea-3a81fdf092a39cc94f3bb896a42db8546bd5f39a.tar.gz
gitea-3a81fdf092a39cc94f3bb896a42db8546bd5f39a.zip
rename fields
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 0cf62db418..9e8e5c916f 100644
--- a/models/update.go
+++ b/models/update.go
@@ -140,7 +140,7 @@ func Update(refName, oldCommitId, newCommitId, userName, repoUserName, repoName
actEmail = commit.Committer.Email
}
commits = append(commits,
- &base.PushCommit{commit.Id.String(),
+ &base.PushCommit{commit.ID.String(),
commit.Message(),
commit.Author.Email,
commit.Author.Name,