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 dea9507 commit e03bee9Copy full SHA for e03bee9
ObjectiveGit/GTCheckoutOptions.m
@@ -63,7 +63,7 @@ - (instancetype)init {
63
static void GTCheckoutProgressCallback(const char *path, size_t completedSteps, size_t totalSteps, void *payload) {
64
if (payload == NULL) return;
65
void (^block)(NSString *, NSUInteger, NSUInteger) = (__bridge id)payload;
66
- NSString *nsPath = (path != NULL ? [NSString stringWithUTF8String:path] : nil);
+ NSString *nsPath = (path != NULL ? @(path) : nil);
67
block(nsPath, completedSteps, totalSteps);
68
}
69
0 commit comments