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.
forgejo/services/repository
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>
11 months ago
..
archiver Refactor web package and context package (#25298) 1 year ago
files Refactor "Content" for file uploading (#25851) 12 months ago
adopt.go Sync branches into databases (#22743) 1 year ago
adopt_test.go Use more specific test methods (#24265) 1 year ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 1 year ago
avatar_test.go Use context parameter in services/repository (#23186) 1 year ago
branch.go Sync branches into databases (#22743) 1 year ago
cache.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
check.go Use RepositoryList instead of []*Repository (#25074) 1 year ago
commit.go Show branches and tags that contain a commit (#25180) 11 months ago
fork.go Sync branches into databases (#22743) 1 year ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
hooks.go Add user webhooks (#21563) 1 year ago
lfs.go Fix bugs in LFS meta garbage collection (#26122) 11 months ago
lfs_test.go Fix bugs in LFS meta garbage collection (#26122) 11 months ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Add context parameter to some database functions (#26055) 12 months ago
repository.go Sync branches into databases (#22743) 1 year ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 1 year ago
review_test.go Use context parameter in services/repository (#23186) 1 year ago
template.go Support copy protected branch from template repository (#25889) 12 months ago
transfer.go Use context parameter in services/repository (#23186) 1 year ago
transfer_test.go Rename almost all Ctx functions (#22071) 2 years ago