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

Merged
github-actions[bot] merged 2 commits from cherry-pick-322007039-release-0.27 into release-0.27 2020-10-22 08:05:24 -05:00

2 Commits

Author SHA1 Message Date
lhchavez 0a561523df Use `git_otype` 2020-10-22 05:30:46 -07:00
Patrick Steinhardt 272ed24c50 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:40 +00:00