aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs/git-module/commit.go
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/commit.go
parentfe9a5d3159c915503a745ce1860c41d6cc552048 (diff)
vendor: update github.com/gogs/git-module
Diffstat (limited to 'vendor/github.com/gogs/git-module/commit.go')
-rw-r--r--vendor/github.com/gogs/git-module/commit.go2
1 files changed, 1 insertions, 1 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())