diff options
Diffstat (limited to 'vendor/github.com/gogs')
-rw-r--r-- | vendor/github.com/gogs/git-module/git.go | 2 | ||||
-rw-r--r-- | vendor/github.com/gogs/git-module/repo_commit.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gogs/git-module/git.go b/vendor/github.com/gogs/git-module/git.go index de1da49a..5795d102 100644 --- a/vendor/github.com/gogs/git-module/git.go +++ b/vendor/github.com/gogs/git-module/git.go @@ -10,7 +10,7 @@ import ( "time" ) -const _VERSION = "0.6.8" +const _VERSION = "0.6.9" func Version() string { return _VERSION 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 { |