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

git_odb::compound::Db::locate() doesn't work consistently #59

Closed
Byron opened this issue Mar 29, 2021 · 0 comments
Closed

git_odb::compound::Db::locate() doesn't work consistently #59

Byron opened this issue Mar 29, 2021 · 0 comments

Comments

@Byron
Copy link
Member

Byron commented Mar 29, 2021

Write unit test to reproduce.

Manual testing with this sample program it turned out that loose objects can be located, but not objects that are packed.

Here is how it can be invoked:

git rev-list --objects --no-object-names HEAD | cargo eval   ./object-access.rs

I recommend installing cargo-eval using cargo install --git https://github.com/reitermarkus/cargo-eval to get the latest greatest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant