mirror of
https://github.com/gogs/gogs.git
synced 2025-12-29 03:30:05 +01:00
vendor: update github.com/gogs/git-module
This commit is contained in:
2
vendor/github.com/gogs/git-module/commit.go
generated
vendored
2
vendor/github.com/gogs/git-module/commit.go
generated
vendored
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user