mirror of https://github.com/go-gitea/gitea
Update models/git/branch.go
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
a2425ce6ac
commit
2549c33632
|
@ -405,7 +405,7 @@ type RecentlyPushedNewBranch struct {
|
|||
CommitTime timeutil.TimeStamp
|
||||
}
|
||||
|
||||
// FindRecentlyPushedNewBranches return at most 2 new branches pushed by the user in 6 hours which has no opened PRs created
|
||||
// FindRecentlyPushedNewBranches return at most 2 new branches pushed by the user in 2 hours which has no opened PRs created
|
||||
// opts.Actor should not be nil
|
||||
// if opts.CommitAfterUnix is 0, we will find the branches committed in recently 6 hours
|
||||
// if opts.ListOptions is not set, we will only display top 2 latest branch
|
||||
|
|
Loading…
Reference in New Issue