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/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>
2 years ago
..
archiver Refactor web package and context package (#25298) 2 years ago
files Refactor "Content" for file uploading (#25851) 2 years ago
adopt.go Sync branches into databases (#22743) 2 years ago
adopt_test.go
avatar.go
avatar_test.go
branch.go Sync branches into databases (#22743) 2 years ago
cache.go
check.go
commit.go Show branches and tags that contain a commit (#25180) 2 years ago
fork.go Sync branches into databases (#22743) 2 years ago
fork_test.go
hooks.go
lfs.go Fix bugs in LFS meta garbage collection (#26122) 2 years ago
lfs_test.go Fix bugs in LFS meta garbage collection (#26122) 2 years ago
main_test.go
push.go Add context parameter to some database functions (#26055) 2 years ago
repository.go Sync branches into databases (#22743) 2 years ago
repository_test.go
review.go
review_test.go
template.go Support copy protected branch from template repository (#25889) 2 years ago
transfer.go
transfer_test.go