mirror of
https://github.com/gogs/gogs.git
synced 2026-03-06 12:11:00 +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())
|
||||
|
||||
2
vendor/github.com/gogs/git-module/git.go
generated
vendored
2
vendor/github.com/gogs/git-module/git.go
generated
vendored
@@ -10,7 +10,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const _VERSION = "0.7.0"
|
||||
const _VERSION = "0.7.1"
|
||||
|
||||
func Version() string {
|
||||
return _VERSION
|
||||
|
||||
Reference in New Issue
Block a user