diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-27 21:05:50 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-27 21:05:50 +0000 |
| commit | 51c331f26ad3c8c422b41267e3695c8f2295510e (patch) | |
| tree | 89b9ae865ab8b8ebbda5244107862374e615e52e /docs/archive/2026-01-relay-ngit-dev-migration/scripts | |
| parent | 3a7fa1d1288c28eae0ee58b4c448c672ec3b69c2 (diff) | |
feat: implement OID retry logic for 'not our ref' errors
Add retry loop in fetch_oids that handles git's behavior of stopping
at the first missing OID. When a 'not our ref' error occurs:
- Parse the missing OID from stderr
- Remove it from the fetch list and track it as missing
- Retry with remaining OIDs until success or all OIDs exhausted
This ensures we fetch all available OIDs even when some are missing
from the remote, rather than failing the entire batch.
Also improves error reporting:
- Include URL in all error messages for easier debugging
- Log stderr even when domain is already on naughty list
Diffstat (limited to 'docs/archive/2026-01-relay-ngit-dev-migration/scripts')
0 files changed, 0 insertions, 0 deletions