Skip to content

repository: Implement wrappers for git_object_lookup_prefix #658

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

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

pks-t
Copy link
Member

@pks-t pks-t commented Oct 22, 2020

While we already have wrappers for git_object_lookup, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.

While we already have wrappers for `git_object_lookup`, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.
Copy link
Contributor

@lhchavez lhchavez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@lhchavez lhchavez merged commit 37b81b6 into libgit2:master Oct 22, 2020
github-actions bot pushed a commit that referenced this pull request Oct 22, 2020
While we already have wrappers for `git_object_lookup`, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.

(cherry picked from commit 37b81b6)
github-actions bot pushed a commit that referenced this pull request Oct 22, 2020
While we already have wrappers for `git_object_lookup`, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.

(cherry picked from commit 37b81b6)
lhchavez pushed a commit that referenced this pull request Oct 22, 2020
…660)

While we already have wrappers for `git_object_lookup`, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.

(cherry picked from commit 37b81b6)

Co-authored-by: Patrick Steinhardt <ps@pks.im>
lhchavez pushed a commit that referenced this pull request Oct 22, 2020
…659)

While we already have wrappers for `git_object_lookup`, there are none
yet for the prefixed variant where only the first n bytes of the OID are
used for the lookup. This commit adds them.

(cherry picked from commit 37b81b6)

Co-authored-by: Patrick Steinhardt <ps@pks.im>
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

Successfully merging this pull request may close these issues.

2 participants