1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-23 02:03:57 +03:00
Jason Song f4d3120f9d
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.
2024-08-09 02:40:45 +00:00
..
2024-06-24 13:26:42 +00:00
2024-08-09 02:40:45 +00:00