-
Notifications
You must be signed in to change notification settings - Fork 337
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
jj git clone not cloning all tags #4682
Comments
For some context, the current |
I guess it'd be nice to have |
For the record, colocated repositories do not have this problem: ⮞ git clone git@github.com:apache/druid.git git-druid
⮞ cd git-druid/ && git show-ref | grep refs/tags | wc -l
503
⮞ jj git init --colocate && jj tag list | wc -l
503 |
Related explanatory context:
For most of my use-cases, I prefer to pass |
Description
Note
I initially brought this up on Discord.
I see some tags missing after running a
jj git clone
.Steps to Reproduce the Problem
jj git clone git@github.com:apache/druid.git druid-jj-test
jj tag list | wc -l
-> results in 456 tags for me today (2024-10-21)git clone git@github.com:apache/druid.git
git show-ref | grep refs/tags | wc -l
shows 502 tagsExpected Behavior
Same number of tags between jj and git.
Actual Behavior
Some tags are missing from
jj tag list
.One tag that is missing (as an example) is:
refs/tags/druid-30.0.0
with rev 09d36ee324747f1407705c27618b6d415c3fa8a9.@yuja suggested the following: "Tag refs are fetched if they are ancestors of refs/heads/*."
I have very limited git knowledge beyond the basics (shame on me) so I did some experimenting which might be totally wrong.
According to the merge-base docs:
Specifications
The text was updated successfully, but these errors were encountered: