diff options
author | Unknwon <u@gogs.io> | 2018-08-17 20:03:00 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-08-17 20:03:00 +0800 |
commit | 33434a40d75ffc08f0e99e7a42075fdce1822840 (patch) | |
tree | e1afa7cbe7864caf6f49fa5a6b6c865d5d06c43b /vendor/github.com/gogs/git-module | |
parent | 844d69143fb49305f587d5a25e009521751b8e29 (diff) |
vendor: update github.com/gogs/git-module
Diffstat (limited to 'vendor/github.com/gogs/git-module')
-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 { |