We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ea30c commit 10420c9Copy full SHA for 10420c9
ObjectiveGit/GTOID.m
@@ -29,8 +29,8 @@ - (const git_oid *)git_oid {
29
- (NSString *)SHA {
30
char *SHA = git_oid_tostr_s(self.git_oid);
31
NSString *str = [[NSString alloc] initWithBytes:SHA
32
- length:GIT_OID_HEXSZ
33
- encoding:NSUTF8StringEncoding];
+ length:GIT_OID_HEXSZ
+ encoding:NSUTF8StringEncoding];
34
NSAssert(str != nil, @"Failed to create SHA string");
35
return str;
36
}
0 commit comments