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

This commit is contained in:
Unknwon
2018-12-15 00:05:06 -05:00
parent fe9a5d3159
commit 8bca30cfe4
3 changed files with 5 additions and 5 deletions

View File

@@ -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())