mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
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.
This commit is contained in:
BIN
Binary file not shown.
+4
@@ -0,0 +1,4 @@
|
||||
x��QJÅ0EýÎ*f>¦�¤I@DÁ‡_ú!n`šL^‹mòhSîÞ ®ÀÏ÷^Î␍e]ç
|
||||
½3wu�nˆzr‘,²Ö]ò.6Ô‹îýÀCçƒÎ$uåMrëÒèÑ
|
||||
1zaÑI\’„„Îê 㘺�(>êT6xŸÃ¼:ɹáéò‡Oײ|¯u9~l"Öi$cîÑ ªðkZ[ëÿêSö
|
||||
S¹ÁÇùùåí¼C;Ûä¼òEv¸M’!•#G˜30ìǘÊÒêy³]
|
||||
Reference in New Issue
Block a user