Nick 6aef9e0a2f
Replace repo.namedBlob by git.TreeEntry. (#22898)
`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.
2023-03-15 16:51:39 -05:00
..
2019-05-04 11:45:34 -04:00
2022-09-20 15:59:20 +08:00
2017-04-21 19:32:31 +08:00
2022-09-20 15:59:20 +08:00
2023-02-18 21:17:39 +02:00
2023-02-18 21:17:39 +02:00
2022-09-20 15:59:20 +08:00
2020-08-16 23:07:38 -04:00
2019-12-15 08:11:31 +00:00
2019-12-07 17:04:19 -05:00
2023-03-09 09:24:23 +08:00
2021-02-11 18:32:25 +01:00
2019-12-11 23:23:05 -05:00
2023-03-09 09:24:23 +08:00
2023-03-10 08:28:32 -06:00