-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags no longer fetch with Git v2.48.0 #2041
Comments
...looking at #2039 which hopefully fixes this: I presume the difference is that with 2.47, tags in the fetch depth are fetched by default, and with 2.48 they're not? |
Same here, but the issue only appears on the macos runners for us. There, also the install path changed between git versions: |
This appears to have been reported to the [email protected] mailing list; see here for the entire thread. AFAICT, there does not appear to be any fix yet in 2.48.1 or on |
It's not clear whether this is a problem with my expectations of the
fetch-tags
option, a bug incheckout
, or a bug in Git 2.48.0, but ancestral tags are no longer fetched as of Git 2.48.0 for shallow (but not too shallow) builds.Here, v0.6.0-dev is a nearish ancestor of the branch
backports/v0.5
being tested. With 2.47, tags within the fetch depth are fetched. With 2.48, only the ref is fetched: no tags.Full run output with git 2.47.1
Full run output with git 2.48.0
This issue first appeared when the GHA ubuntu-24.04 runner image updated from 20250105.1.0 to 20250113.1.0 .
The text was updated successfully, but these errors were encountered: