lotherk
75fed4414d
giteabot backport / giteabot (push) Skipped
release-nightly-snapcraft / build-and-publish (ubuntu-24.04) (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (ubuntu-24.04-arm) (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
modules/git: migrate IsReferenceExist to got cat
...
Route package-level and Repository.IsReferenceExist through
modules/got.ObjectExists, which probes `got cat -r` without -P. got cat
resolves full/abbreviated object IDs, refs and tags but not path names,
matching the commit_checker/merge_tree callers that pass commit IDs and
the ref callers that pass ref names.
This also removes the gogit/nogogit inconsistency where gogit rejected
blob hashes and short hashes for IsReferenceExist; the got-backed path
accepts them in both builds. IsObjectExist is left alone: its nogogit
CatFileBatch implementation has different semantics and its only caller
is marked FIXME.
Verified: GOTMPDIR=/home/lotherk/.cache/gotmp go test ./modules/got ./modules/git -count=1
2026-11-24 06:38:41 +00:00
..
2026-11-22 12:13:09 +00:00
2026-02-01 10:35:51 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-10-31 19:12:36 +00:00
2026-11-22 12:13:09 +00:00
2026-03-31 17:22:18 +00:00
2026-06-08 18:18:58 +00:00
2026-07-24 02:05:38 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-24 06:38:41 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-24 06:38:41 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-10-24 13:38:33 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-09-14 14:59:18 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2025-02-21 00:05:40 +08:00
2026-11-22 12:13:09 +00:00
2026-11-22 14:05:07 +00:00
2026-06-14 18:26:22 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2025-01-21 18:57:07 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-03-26 00:37:48 +08:00
2026-11-22 12:13:09 +00:00
2026-07-12 17:14:09 +00:00
2025-01-09 09:21:47 +08:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-11-22 12:13:09 +00:00
2026-02-20 16:12:22 +00:00
2026-06-04 13:38:56 +00:00