From 8bca30cfe44bd443906dc7a6d1491a94220a1dc1 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 15 Dec 2018 00:05:06 -0500 Subject: vendor: update github.com/gogs/git-module --- vendor/github.com/gogs/git-module/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/gogs/git-module/commit.go') diff --git a/vendor/github.com/gogs/git-module/commit.go b/vendor/github.com/gogs/git-module/commit.go index 45c3437b..a0bed8b5 100644 --- a/vendor/github.com/gogs/git-module/commit.go +++ b/vendor/github.com/gogs/git-module/commit.go @@ -289,7 +289,7 @@ func GetCommitFileStatus(repoPath, commitID string) (*CommitFileStatus, error) { }() stderr := new(bytes.Buffer) - err := NewCommand("log", "-1", "--name-status", "--pretty=format:''", commitID).RunInDirPipeline(repoPath, w, stderr) + err := NewCommand("show", "--name-status", "--pretty=format:''", commitID).RunInDirPipeline(repoPath, w, stderr) w.Close() // Close writer to exit parsing goroutine if err != nil { return nil, concatenateError(err, stderr.String()) -- cgit v1.2.3