forgejo/modules/context
delvh bd6ef71854
Show branches and tags that contain a commit (#25180)
Now, you can see for a commit which existing branches and tags contain it.
You first have to click on the `load branches and tags` button, they are not preloaded by default.
All branches and tags are ordered descending by creation date.
You can even see without much hassle if the given commit is already part of the default branch.

Closes #25152 

## Screenshots

### Initial

![image](https://github.com/go-gitea/gitea/assets/51889757/84db2c0b-aaef-4f69-ab92-0b812793d2ad)

### Loaded

![image](https://github.com/go-gitea/gitea/assets/51889757/a9b84e66-8e44-4c55-b017-c37f4a45f41b)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-07-27 12:47:41 +02:00
..
access_log.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
api.go Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
api_org.go
api_test.go
base.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
captcha.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
context.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
context_cookie.go
context_model.go
context_request.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
context_response.go Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
context_test.go
csrf.go
org.go Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
package.go Revert package access change from #23879 (#25707) 2023-07-09 13:00:07 +00:00
pagination.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
permission.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
private.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
repo.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
response.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
utils.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
xsrf.go
xsrf_test.go