Update models/git/branch.go

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
yp05327 2023-11-10 11:40:44 +09:00 committed by GitHub
parent a2425ce6ac
commit 2549c33632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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