aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs/git-module/repo_commit.go
diff options
context:
space:
mode:
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 {