From 2549c33632a7d9c3778aa88ca9aa131da09f2627 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Fri, 10 Nov 2023 11:40:44 +0900 Subject: [PATCH] Update models/git/branch.go Co-authored-by: silverwind --- models/git/branch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/git/branch.go b/models/git/branch.go index edefa18074..1deac314ee 100644 --- a/models/git/branch.go +++ b/models/git/branch.go @@ -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