mirror of
https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo.git
synced 2025-09-27 08:00:09 +02:00
![]() The `checkValidity` function returns `false, err` if its `git config` call returns an error. For renamed repositories the cached path no longer exists, which makes `git config` return an error. When `checkValidity` returns an error value it short-circuited the cache lookup, instead of deleting the stale entry and retrying. This made the `AnnexP2PHTTP` route 404. This is fixed by ignoring the error from `checkValidity` entirely. Fixes #88. Reviewed-on: https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo/pulls/89 Co-authored-by: Matthias Riße <m.risse@fz-juelich.de> Co-committed-by: Matthias Riße <m.risse@fz-juelich.de> |
||
---|---|---|
.. | ||
annex.go |