aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs/git-module
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-12-15 00:05:06 -0500
committerUnknwon <u@gogs.io>2018-12-15 00:05:06 -0500
commit8bca30cfe44bd443906dc7a6d1491a94220a1dc1 (patch)
treeeaf8e51fafefc538440e7120b0fb38a37dfb005f /vendor/github.com/gogs/git-module
parentfe9a5d3159c915503a745ce1860c41d6cc552048 (diff)
vendor: update github.com/gogs/git-module
Diffstat (limited to 'vendor/github.com/gogs/git-module')
-rw-r--r--vendor/github.com/gogs/git-module/commit.go2
-rw-r--r--vendor/github.com/gogs/git-module/git.go2
2 files changed, 2 insertions, 2 deletions
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())
diff --git a/vendor/github.com/gogs/git-module/git.go b/vendor/github.com/gogs/git-module/git.go
index e060ce36..0133a530 100644
--- a/vendor/github.com/gogs/git-module/git.go
+++ b/vendor/github.com/gogs/git-module/git.go
@@ -10,7 +10,7 @@ import (
"time"
)
-const _VERSION = "0.7.0"
+const _VERSION = "0.7.1"
func Version() string {
return _VERSION