diff options
author | Jason Song <i@wolfogre.com> | 2024-08-09 10:40:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 02:40:45 +0000 |
commit | f4d3120f9d1de6a260a5e625b3ffa6b35a069e9b (patch) | |
tree | 9bc743cbc952a62cb4570e300cea3bfd88eebd39 /.github/labeler.yml | |
parent | 33cc5837a655ad544b936d4d040ca36d74092588 (diff) | |
download | gitea-f4d3120f9d1de6a260a5e625b3ffa6b35a069e9b.tar.gz gitea-f4d3120f9d1de6a260a5e625b3ffa6b35a069e9b.zip |
Fix `IsObjectExist` with gogit (#31790)
Fix #31271.
When gogit is enabled, `IsObjectExist` calls
`repo.gogitRepo.ResolveRevision`, which is not correct. It's for
checking references not objects, it could work with commit hash since
it's both a valid reference and a commit object, but it doesn't work
with blob objects.
So it causes #31271 because it reports that all blob objects do not
exist.
Diffstat (limited to '.github/labeler.yml')
0 files changed, 0 insertions, 0 deletions