forgejo-federation/tests/gitea-repositories-meta/user2
yp05327 699f20234b
Use correct README link to render the README (#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: Jason Song <i@wolfogre.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-03-03 18:01:33 +08:00
..
commits_search_test.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
git_hooks_test.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
glob.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
lfs.git Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
repo1.git Use correct README link to render the README (#23152) 2023-03-03 18:01:33 +08:00
repo1.wiki.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
repo2.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
repo15.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
repo16.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
repo20.git Use beforeCommit instead of baseCommit (#22949) 2023-02-20 11:56:07 +08:00
utf8.git Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00