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>
2023-07-27 12:47:41 +02:00
..
archiver Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
files Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
adopt.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
adopt_test.go
avatar.go
avatar_test.go
branch.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
cache.go
check.go
commit.go Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
fork.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
fork_test.go
hooks.go
lfs.go Fix bugs in LFS meta garbage collection (#26122) 2023-07-26 07:02:53 +00:00
lfs_test.go Fix bugs in LFS meta garbage collection (#26122) 2023-07-26 07:02:53 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
push.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
repository.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
repository_test.go
review.go
review_test.go
template.go Support copy protected branch from template repository (#25889) 2023-07-21 12:32:47 +08:00
transfer.go
transfer_test.go