diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-06 11:50:31 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-06 11:50:31 -0400 |
commit | e573855a4f040abd4aa6a2afa9ce610a1ec2670f (patch) | |
tree | 7ead7dafd3c228305e83a19dec0bca5b60d92217 /models/update.go | |
parent | 94bccbb148a4ed897eb8332fc746aa75486c5c4d (diff) | |
download | gitea-e573855a4f040abd4aa6a2afa9ce610a1ec2670f.tar.gz gitea-e573855a4f040abd4aa6a2afa9ce610a1ec2670f.zip |
Fix #98, support web hook
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 3ae5510a84..b7242cde85 100644 --- a/models/update.go +++ b/models/update.go @@ -96,6 +96,6 @@ func Update(refName, oldCommitId, newCommitId, userName, repoUserName, repoName //commits = append(commits, []string{lastCommit.Id().String(), lastCommit.Message()}) if err = CommitRepoAction(userId, ru.Id, userName, actEmail, repos.Id, repoUserName, repoName, refName, &base.PushCommits{l.Len(), commits}); err != nil { - qlog.Fatalf("runUpdate.models.CommitRepoAction: %v", err) + qlog.Fatalf("runUpdate.models.CommitRepoAction: %s/%s:%v", repoUserName, repoName, err) } } |