-
Notifications
You must be signed in to change notification settings - Fork 10
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
Panic while cloning repo #236
Comments
Annotated tags are a normal thing to be in pack files, we probably just never added support? |
Yes, it looks like it. Check indexpack.go around line 711. There's no case for tags. |
Fix an off by one error in the fanout table lookup in HaveObject, which would result in dgit incorrectly reporting that any hash that starts with a 0 wasn't present in the pack. Should fix #236.
I'm not sure.. I think there's a reasonably good chance it's just a matter of adding OBJ_TAG there, but I may be forgetting about something. You can try it and see. |
Unfortunately, it's not that simple. Now the fetch tests begin failing with an index out of bounds on indexpack.go:452 Where can one learn more about how the indexing format here so that a more intelligent patch can be made? |
The index format is defined in https://github.com/git/git/blob/master/Documentation/technical/pack-format.txt , but I doubt it'll help much. There's probably one or two other similar switch statements in dgit (or switching on their string equivalent) and not a problem with the index itself |
This is causing Travis to fail now because one of the go get tests needs annotated tags. ie in #254
|
While trying to get the remainder of the t5510-fetch tests running there are a number of clone operations that are panicking with the following error. It appears that an unexpected index pack type of 'tag' is being found.
The text was updated successfully, but these errors were encountered: