gitea/tests/gitea-repositories-meta/user2/repo1.git/objects
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
..
00 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
2a Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
3f Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
4a Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
4b Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
5c Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
5f Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
6a Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
7c Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
40 Use correct README link to render the README (#23152) 2023-03-03 18:01:33 +08:00
62 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
65 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
78 Use correct README link to render the README (#23152) 2023-03-03 18:01:33 +08:00
90 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
94 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
98 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
a6 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
a7 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
b2 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
d4 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
d7 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
dc Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
dd Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
f3 Use correct README link to render the README (#23152) 2023-03-03 18:01:33 +08:00
info Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00