1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 23:24:29 +00: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-29 22:50:03 +00:00
2024-06-17 21:22:39 +02:00
2024-08-09 02:40:45 +00:00
2024-04-22 23:55:43 +00:00
2024-06-11 18:47:45 +00:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00