RFR: 2040: Temporary workaround of SKARA-2025

Erik Joelsson erikj at openjdk.org
Wed Sep 27 21:20:52 UTC 2023

On Wed, 27 Sep 2023 20:56:00 GMT, Erik Joelsson <erikj 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.

I was wrong. Fetching with includeTags=true will get all tags, so this should be fine.


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

More information about the skara-dev mailing list