RFR: 2040: Temporary workaround of SKARA-2025

Zhao Song zsong at openjdk.org
Tue Sep 26 22:32:49 UTC 2023


On Mon, 25 Sep 2023 18:30:21 GMT, Zhao Song <zsong at openjdk.org> wrote:

> The final solution for [SKARA-2025](https://bugs.openjdk.org/browse/SKARA-2025) should be for us to optimize the HostedRepositoryPool#materializeClone method, but this will take some time. 
> 
> And some users would use /tag command every week, to make their experiences better, we should fix it with the temporary workaround as soon as possible. 
> 
> As Erik said in [SKARA-2025](https://bugs.openjdk.org/browse/SKARA-2025), we only need to fetch from the remote repo into local repo and the problem could be solved.

Repository#fetchAll doesn't work in this case because when cloning the repository, `git clone` typically only clones the default branch by default. However, in the fetchAll method, the `git fetch ` command includes the parameter '+refs/heads/:refs/heads/,' which will make the `git fetch` command fails.

-------------

PR Comment: https://git.openjdk.org/skara/pull/1561#issuecomment-1736389442


More information about the skara-dev mailing list