summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-06-28 15:00:03 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-06-28 15:00:03 +0800
commit54e17c7cca15aafc11bf394752ed0f1feb6f6979 (patch)
tree9c6edfc2b57659dafd7c5ea9d80f8ea1bb11285b
parent86e2627175ceaed544dabbbef40d9197995c2bd4 (diff)
downloadgitea-54e17c7cca15aafc11bf394752ed0f1feb6f6979.tar.gz
gitea-54e17c7cca15aafc11bf394752ed0f1feb6f6979.zip
bug fixed #261
-rw-r--r--models/update.go2
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