aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs/git-module/repo_commit.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-08-17 20:03:00 +0800
committerUnknwon <u@gogs.io>2018-08-17 20:03:00 +0800
commit33434a40d75ffc08f0e99e7a42075fdce1822840 (patch)
treee1afa7cbe7864caf6f49fa5a6b6c865d5d06c43b /vendor/github.com/gogs/git-module/repo_commit.go
parent844d69143fb49305f587d5a25e009521751b8e29 (diff)
vendor: update github.com/gogs/git-module
Diffstat (limited to 'vendor/github.com/gogs/git-module/repo_commit.go')
-rw-r--r--vendor/github.com/gogs/git-module/repo_commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gogs/git-module/repo_commit.go b/vendor/github.com/gogs/git-module/repo_commit.go
index efbc8700..2a55f338 100644
--- a/vendor/github.com/gogs/git-module/repo_commit.go
+++ b/vendor/github.com/gogs/git-module/repo_commit.go
@@ -129,7 +129,7 @@ func (repo *Repository) GetCommit(commitID string) (*Commit, error) {
var err error
commitID, err = GetFullCommitID(repo.Path, commitID)
if err != nil {
- return nil, fmt.Errorf("GetCommitFullID: %v", err)
+ return nil, err
}
id, err := NewIDFromString(commitID)
if err != nil {