diff options
author | Unknwon <u@gogs.io> | 2017-11-16 13:13:28 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-11-16 13:13:28 -0500 |
commit | ae40bb00b3a53bcb0143a6c8b3c7bd087b7a3962 (patch) | |
tree | f122c93b5b55eb1c3504bc105b0a75aa4e69739b | |
parent | 3dd93f5533f6634ae334d097a5daa8d38beb6d18 (diff) |
vendor: update github.com/gogits/git-module (#4855)
-rw-r--r-- | vendor/github.com/gogits/git-module/repo_commit.go | 2 | ||||
-rw-r--r-- | vendor/vendor.json | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/gogits/git-module/repo_commit.go b/vendor/github.com/gogits/git-module/repo_commit.go index 34349c68..6b629d4d 100644 --- a/vendor/github.com/gogits/git-module/repo_commit.go +++ b/vendor/github.com/gogits/git-module/repo_commit.go @@ -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(), ""} diff --git a/vendor/vendor.json b/vendor/vendor.json index 67db82e5..9b4e6a3a 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -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=", |