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/tests/gitea-repositories-meta/user2
Giteabot 1322cd7a58
Use correct README link to render the README (#23152) (#23264)
Backport #23152

`renderReadmeFile` needs `readmeTreelink` as parameter but gets
`treeLink`.
The values of them look like as following:
`treeLink`:  `/{OwnerName}/{RepoName}/src/branch/{BranchName}`
`readmeTreelink`:
`/{OwnerName}/{RepoName}/src/branch/{BranchName}/{ReadmeFileName}`

`path.Dir` in

8540fc45b1/routers/web/repo/view.go (L316)
should convert `readmeTreelink` into
`/{OwnerName}/{RepoName}/src/branch/{BranchName}` instead of the current
`/{OwnerName}/{RepoName}/src/branch`.

Fixes #23151

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2 years ago
..
commits_search_test.git Kd/ci playwright go test (#20123) 3 years ago
git_hooks_test.git Kd/ci playwright go test (#20123) 3 years ago
glob.git Kd/ci playwright go test (#20123) 3 years ago
lfs.git Test views of LFS files (#22196) 2 years ago
repo1.git Use correct README link to render the README (#23152) (#23264) 2 years ago
repo1.wiki.git Kd/ci playwright go test (#20123) 3 years ago
repo2.git Kd/ci playwright go test (#20123) 3 years ago
repo15.git Kd/ci playwright go test (#20123) 3 years ago
repo16.git Kd/ci playwright go test (#20123) 3 years ago
repo20.git Use beforeCommit instead of baseCommit (#22949) 2 years ago
utf8.git Kd/ci playwright go test (#20123) 3 years ago