loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Only show newly pushed branches message in the same repository (#26148)

Partly fixes #26130

This is a quick fix. #25812 will fully fix the bug.

authored by

Zettat123 and committed by
GitHub
338d03ce bd4c7ce5

+1
+1
models/git/branch.go
··· 394 394 err := db.GetEngine(ctx). 395 395 Where("pusher_id=? AND is_deleted=?", userID, false). 396 396 And("name <> ?", excludeBranchName). 397 + And("repo_id = ?", repoID). 397 398 And("updated_unix >= ?", time.Now().Add(-time.Hour*6).Unix()). 398 399 NotIn("name", subQuery). 399 400 OrderBy("branch.updated_unix DESC").