Skip to content
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

test: reproduction case for #9328 #9372

Merged

Conversation

Leonidas-from-XIV
Copy link
Collaborator

This reproduces the case in #9328 where the repo contains a commit object (not that this serves any purpose, but such cases exist in the wild) and our code breaks.

It comments the steps on how to build such a structure in git as this is using some of the git "plumbing" tools that is not particularly well-known, however the Git Book: Git Objects has some information on how to build a commit by hand (they use files in the book but fortunately it also works with commits).

@Leonidas-from-XIV Leonidas-from-XIV force-pushed the git-commit-object-repro branch 2 times, most recently from fb8c619 to c7d3a11 Compare December 5, 2023 15:51
@Leonidas-from-XIV Leonidas-from-XIV merged commit 6de7435 into ocaml:main Dec 6, 2023
23 of 24 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the git-commit-object-repro branch December 6, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants