diff options
author | Unknwon <u@gogs.io> | 2015-10-23 10:31:13 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-10-23 10:31:13 -0400 |
commit | c6ce6bd4c2e51d2282b5810d49683d34113cf0c7 (patch) | |
tree | 401039a33c2d11a415e77159176ddd92d4eb69d5 /models/update.go | |
parent | b5fdf0947b80a9eae4a399faa78a349e394e77c0 (diff) | |
download | gitea-c6ce6bd4c2e51d2282b5810d49683d34113cf0c7.tar.gz gitea-c6ce6bd4c2e51d2282b5810d49683d34113cf0c7.zip |
work on #1830
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/update.go b/models/update.go index cbaf0e6618..645b58c4c5 100644 --- a/models/update.go +++ b/models/update.go @@ -117,12 +117,12 @@ func Update(refName, oldCommitId, newCommitId, userName, repoUserName, repoName if isNew { l, err = newCommit.CommitsBefore() if err != nil { - return fmt.Errorf("Find CommitsBefore erro: %v", err) + return fmt.Errorf("CommitsBefore: %v", err) } } else { l, err = newCommit.CommitsBeforeUntil(oldCommitId) if err != nil { - return fmt.Errorf("Find CommitsBeforeUntil erro: %v", err) + return fmt.Errorf("CommitsBeforeUntil: %v", err) } } |