修复:shortlog 使用all

This commit is contained in:
yystopf 2023-03-17 11:01:53 +08:00
parent bc2c836cf1
commit a8c396aef6
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func GetRepoContributors(repo *gitea_git.Repository, page, pageSize int) (int, [
_ = stdoutReader.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)
err = cmd.Run(&gitea_git.RunOpts{