fixed 代码行统计方式调整
This commit is contained in:
parent
749066ec62
commit
b2624f6562
|
@ -59,7 +59,8 @@ func GetCodeActivityStatsWithoutSince(repo *gitea_git.Repository, branch string)
|
|||
if len(branch) == 0 {
|
||||
gitCmd.AddArguments("--branches=*")
|
||||
} else {
|
||||
gitCmd.AddArguments("--first-parent").AddDynamicArguments(branch)
|
||||
//gitCmd.AddArguments("--first-parent").AddDynamicArguments(branch)
|
||||
gitCmd.AddArguments("--branches").AddDynamicArguments(branch)
|
||||
}
|
||||
|
||||
stderr := new(strings.Builder)
|
||||
|
|
Loading…
Reference in New Issue