mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-28 16:46:17 +02:00
Replaces the hardcoded list of three top-level paths (modules/git, modules/gitrepo, modules/lfs) with an at-build-time derivation. tools/find-gogit-test-pkgs.sh queries `go list` for every package whose own code or test code imports any of the gogit-affected modules — currently 72 packages — and feeds that list into `make test-backend-gogit`. This restores coverage that the static list dropped: callers like models/git, services/repository, modules/repository, etc., whose unit tests transitively exercise gogit/nogogit code paths via the modules/git API. Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com>