diff options
author | Nick <nick.guenther@polymtl.ca> | 2023-03-15 17:51:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 16:51:39 -0500 |
commit | 6aef9e0a2f7df03893f00a657749b29e11ed839e (patch) | |
tree | 76478e021554897ca804e39c1d37e53ef0d06574 /models/fixtures/repository.yml | |
parent | 19cbd5c3d9893647d85f7fc5b873059d1d6d436d (diff) | |
download | gitea-6aef9e0a2f7df03893f00a657749b29e11ed839e.tar.gz gitea-6aef9e0a2f7df03893f00a657749b29e11ed839e.zip |
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.
Diffstat (limited to 'models/fixtures/repository.yml')
-rw-r--r-- | models/fixtures/repository.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml index 32ba8744d4..4c888e47ed 100644 --- a/models/fixtures/repository.yml +++ b/models/fixtures/repository.yml @@ -25,7 +25,7 @@ fork_id: 0 is_template: false template_id: 0 - size: 7028 + size: 7320 is_fsck_enabled: true close_issues_via_commit_in_any_branch: false |