mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-31 13:07:34 +00:00
Add a new git_oid_strcmp that compares a string OID with a hex oid for sort order, and then reimplement git_oid_streq using it. This actually should speed up git_oid_streq because it only reads as far into the string as it needs to, whereas previously it would convert the whole string into an OID and then use git_oid_cmp. |
||
|---|---|---|
| .. | ||
| git2 | ||
| git2.h | ||