mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Post merge fix: Use the git_oid_mkhex function again from Pieter's libgit2 version.
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ NSString * const kGitXCommitType = @"commit";
|
||||
NSMutableArray *p = [NSMutableArray arrayWithCapacity:nParents];
|
||||
for (i = 0; i < nParents; ++i)
|
||||
{
|
||||
char *s = git_oid_allocfmt(parentShas + i);
|
||||
char *s = git_oid_mkhex(parentShas + i);
|
||||
[p addObject:[NSString stringWithUTF8String:s]];
|
||||
free(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user