Files
gitocean/modules
Jason SongandEarl Warren 83565de2c0 Fix IsObjectExist with gogit (#31790) (tests only)
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.

(cherry picked from commit f4d3120f9d1de6a260a5e625b3ffa6b35a069e9b)

Conflicts:
  trivial resolution because go-git support was dropped https://codeberg.org/forgejo/forgejo/pulls/4941
2024-08-13 09:05:43 +02:00
..
2024-08-12 19:11:09 +02:00
2024-08-12 19:11:09 +02:00
2024-08-09 17:44:41 +02:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2023-11-03 15:21:05 +00:00
2024-07-17 23:07:41 +02:00
2024-05-14 08:31:34 +02:00