diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-06-28 15:00:03 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-06-28 15:00:03 +0800 |
commit | 54e17c7cca15aafc11bf394752ed0f1feb6f6979 (patch) | |
tree | 9c6edfc2b57659dafd7c5ea9d80f8ea1bb11285b | |
parent | 86e2627175ceaed544dabbbef40d9197995c2bd4 (diff) | |
download | gitea-54e17c7cca15aafc11bf394752ed0f1feb6f6979.tar.gz gitea-54e17c7cca15aafc11bf394752ed0f1feb6f6979.zip |
bug fixed #261
-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 0231b6af38..6702ad3b46 100644 --- a/models/update.go +++ b/models/update.go @@ -100,7 +100,7 @@ func Update(refName, oldCommitId, newCommitId, userName, repoUserName, repoName repos.Id, repoUserName, repoName, refName, commit); err != nil { log.GitLogger.Fatal("runUpdate.models.CommitRepoAction: %s/%s:%v", repoUserName, repoName, err) } - return + return err } // if commits push |