1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +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:
Nick
2023-03-15 17:51:39 -04:00
committed by GitHub
parent 19cbd5c3d9
commit 6aef9e0a2f
6 changed files with 74 additions and 50 deletions

View File

@@ -0,0 +1,4 @@
x<01><>QJ<51>0E<><45>*f><3E><><EFBFBD>I@D<><44>_<EFBFBD>!n`<60>L^<5E>m<EFBFBD>hS<1E><> <20><><EFBFBD><03>^<5E>
e]<5D>
<EFBFBD>3wu<13>n<18>zr<7A>,<2C><>]<5D>.<36><D48B><EFBFBD>C<EFBFBD><43><0E>$u<>Mr<05><><EFBFBD><EFBFBD>
1za<7A>I\<5C><><EFBFBD><EFBFBD><EFBFBD><10>(><3E>T6x<36><78><17><1E>:<3A><0F><><EFBFBD><EFBFBD><EFBFBD>Oײ|<7C>u9~l"<22>i$c<10><> <20><>kZ[<5B><><1B>S<EFBFBD>

View File

@@ -0,0 +1 @@
4649299398e4d39a5c09eb4f534df6f1e1eb87cc