repository: Implement wrappers for git_object_lookup_prefix (#658) #660

Merged
github-actions[bot] merged 1 commits from cherry-pick-322007039-release-0.28 into release-0.28 2020-10-22 07:32:33 -05:00

1 Commits

Author SHA1 Message Date
Patrick Steinhardt 67a417baaa repository: Implement wrappers for `git_object_lookup_prefix` (#658)
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 37b81b61f1)
2020-10-22 12:21:44 +00:00