mirror of
https://github.com/go-gitea/gitea
synced 2024-11-06 18:24:24 +00:00
6aef9e0a2f
`namedBlob` turned out to be a poor imitation of a `TreeEntry`. Using the latter directly shortens this code. This partially undoes https://github.com/go-gitea/gitea/pull/23152/, which I found a merge conflict with, and also expands the test it added to cover the subtle README-in-a-subfolder case.
204 B
204 B