You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 3.44.0 includes #1959, which creates mirror directories for submodule repos. This PR guards against adding duplicate remotes by catching git exit code 3, which is what should be thrown according to the docs. Unfortunately, in earlier git versions, duplicates will result in exit code 128.
This includes at least version 2.25.1, the latest distributed with Ubuntu 20.04 LTS.
In our environment this meant that running more than one job for the same repo on an agent would break. We worked around by installing a later git version than was available in Ubuntu's repo.
hi there! we're looking into the various intricacies of submodule/git mirror interactions. we recently merged a change from @jonahbull which removes the exit code 3 handling entirely - does this change resolve your issue?
Version 3.44.0 includes #1959, which creates mirror directories for submodule repos. This PR guards against adding duplicate remotes by catching
git
exit code 3, which is what should be thrown according to the docs. Unfortunately, in earlier git versions, duplicates will result in exit code 128.This includes at least version 2.25.1, the latest distributed with Ubuntu 20.04 LTS.
In our environment this meant that running more than one job for the same repo on an agent would break. We worked around by installing a later git version than was available in Ubuntu's repo.
See here for a repro case using the Ubuntu 20.04 Docker image: https://gist.github.com/adamsb6/29c3bf4cc81a6e59fff3955440d455c3
The text was updated successfully, but these errors were encountered: