Browse Source

vendor: update github.com/gogits/git-module (#4855)

pull/4762/merge
Unknwon 7 years ago
parent
commit
ae40bb00b3
No known key found for this signature in database
GPG Key ID: 7A02C406FAC875A2
  1. 2
      vendor/github.com/gogits/git-module/repo_commit.go
  2. 6
      vendor/vendor.json

2
vendor/github.com/gogits/git-module/repo_commit.go generated vendored

@ -104,7 +104,7 @@ func (repo *Repository) getCommit(id sha1) (*Commit, error) {
return c.(*Commit), nil
}
data, err := NewCommand("cat-file", "-p", id.String()).RunInDirBytes(repo.Path)
data, err := NewCommand("cat-file", "commit", id.String()).RunInDirBytes(repo.Path)
if err != nil {
if strings.Contains(err.Error(), "exit status 128") {
return nil, ErrNotExist{id.String(), ""}

6
vendor/vendor.json vendored

@ -183,10 +183,10 @@
"revisionTime": "2016-08-10T03:50:02Z"
},
{
"checksumSHA1": "oSsxc1i4agO7Gp1kgiUxLDHCtKU=",
"checksumSHA1": "baBdY7sA0U60da7wfhIialHmMwU=",
"path": "github.com/gogits/git-module",
"revision": "0654b3dcf2e85ed96c9923cb65cae5341fe1df3f",
"revisionTime": "2017-11-16T04:59:35Z"
"revision": "5cc36acd9bc119acc0376a4db452e8ce55451c9f",
"revisionTime": "2017-11-16T18:10:54Z"
},
{
"checksumSHA1": "GBfb+meRaVNarQavLB/bzbDoBtY=",

Loading…
Cancel
Save