修复:shortlog 使用all
This commit is contained in:
parent
bc2c836cf1
commit
a8c396aef6
|
@ -30,7 +30,7 @@ func GetRepoContributors(repo *gitea_git.Repository, page, pageSize int) (int, [
|
||||||
_ = stdoutReader.Close()
|
_ = stdoutReader.Close()
|
||||||
_ = stdoutWriter.Close()
|
_ = stdoutWriter.Close()
|
||||||
}()
|
}()
|
||||||
cmd := gitea_git.NewCommand(repo.Ctx, "shortlog", "-sne", "HEAD")
|
cmd := gitea_git.NewCommand(repo.Ctx, "shortlog", "-sne", "--all")
|
||||||
|
|
||||||
stderr := new(strings.Builder)
|
stderr := new(strings.Builder)
|
||||||
err = cmd.Run(&gitea_git.RunOpts{
|
err = cmd.Run(&gitea_git.RunOpts{
|
||||||
|
|
Loading…
Reference in New Issue