vendor: update github.com/gogs/git-module

This commit is contained in:
Unknwon
2018-08-17 20:03:00 +08:00
parent 844d69143f
commit 33434a40d7
3 changed files with 5 additions and 5 deletions

View File

@@ -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 {