RFR: 2040: Temporary workaround of SKARA-2025

Erik Joelsson erikj at openjdk.org
Wed Sep 27 20:58:12 UTC 2023


On Tue, 26 Sep 2023 22:28:18 GMT, Zhao Song <zsong at openjdk.org> wrote:

> 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.

Fetching just the commit will fix the reported problem, but it will not fix the issue of checking if the tag already exists. Maybe rewriting that check to use the remote repository instead of the local is a better solution for that.

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

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


More information about the skara-dev mailing list