Commit 6a881297759a4b3c4f62093aef5fdbaad0dae8df

Stefan Sperling 2022-06-02T12:32:00

properly swap cached struct pack array elements in got_repo_cache_pack() Avoids clobbering open files for delta base/accumulation, leaking file descriptors, and triggering errors from close(2) during got_repo_close() as we try to close the same file descriptor more than once.