Commit 737406b7 by Scott Chacon

fix gid_ misspelling

parent 90412507
...@@ -97,7 +97,7 @@ GIT_EXTERN(void) git_oid_fmt(char *str, const git_oid *oid); ...@@ -97,7 +97,7 @@ GIT_EXTERN(void) git_oid_fmt(char *str, const git_oid *oid);
GIT_EXTERN(void) git_oid_pathfmt(char *str, const git_oid *oid); GIT_EXTERN(void) git_oid_pathfmt(char *str, const git_oid *oid);
/** /**
* Format a gid_oid into a newly allocated c-string. * Format a git_oid into a newly allocated c-string.
* @param oid the oid structure to format * @param oid the oid structure to format
* @return the c-string; NULL if memory is exhausted. Caller must * @return the c-string; NULL if memory is exhausted. Caller must
* deallocate the string with free(). * deallocate the string with free().
...@@ -144,7 +144,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b); ...@@ -144,7 +144,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b);
* @param b second oid structure. * @param b second oid structure.
* @return 0 in case of a match * @return 0 in case of a match
*/ */
GIT_EXTERN(int) gid_oid_ncmp(unsigned int len, git_oid *a, git_oid *b); GIT_EXTERN(int) git_oid_ncmp(unsigned int len, git_oid *a, git_oid *b);
/** /**
* OID Shortener object * OID Shortener object
......
...@@ -193,7 +193,7 @@ int git_oid_ncmp_hex(unsigned int len, const unsigned char *a, const unsigned ch ...@@ -193,7 +193,7 @@ int git_oid_ncmp_hex(unsigned int len, const unsigned char *a, const unsigned ch
return memcmp(a, b, len); return memcmp(a, b, len);
} }
int gid_oid_ncmp(unsigned int len, git_oid *a, git_oid *b) int git_oid_ncmp(unsigned int len, git_oid *a, git_oid *b)
{ {
return git_oid_ncmp_raw(len, a->id, b->id); return git_oid_ncmp_raw(len, a->id, b->id);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment