Closed
@wyattoday

Description

Description

Clicking the "edit" icon on a README.md file in a subdirectory , edits the parent repository README.md, not the file we actually want to edit.

For example here:

https://gitea.com/wyattoday/test-repo

Click the "subdir" to end up here: https://gitea.com/wyattoday/test-repo/src/branch/main/subdir

Then click the little "Edit" pencil above the README.md file and it will begin editing the main respository readme, not the README in that subdirectory.

Gitea Version

ee33488

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

using https://demo.gitea.com

Database

None