You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
2 years ago
..
access_log.go Replace `interface{}` with `any` (#25686) 2 years ago
api.go Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
captcha.go Replace `interface{}` with `any` (#25686) 2 years ago
context.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_model.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_request.go Decouple the different contexts from each other (#24786) 2 years ago
context_response.go Show branches and tags that contain a commit (#25180) 2 years ago
context_test.go Use standard HTTP library to serve files (#24693) 2 years ago
csrf.go Refactor cookie (#24107) 2 years ago
org.go Fix inconsistent user profile layout across tabs (#25625) 2 years ago
package.go Revert package access change from #23879 (#25707) 2 years ago
pagination.go Replace `interface{}` with `any` (#25686) 2 years ago
permission.go Add context parameter to some database functions (#26055) 2 years ago
private.go Replace `interface{}` with `any` (#25686) 2 years ago
repo.go Add context parameter to some database functions (#26055) 2 years ago
response.go Refactor web package and context package (#25298) 2 years ago
utils.go Decouple the different contexts from each other (#24786) 2 years ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago