Skip to content

Commit aa510a6

Browse files
committed
Useless call; file reference URLs know how to path-ify themselves.
1 parent bcdd927 commit aa510a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/GTRepository.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ + (id)cloneFromURL:(NSURL *)originURL toWorkingDirectory:(NSURL *)workdirURL opt
221221
// If our originURL is local, convert to a path before handing down.
222222
const char *remoteURL = NULL;
223223
if (originURL.isFileURL) {
224-
remoteURL = originURL.filePathURL.path.fileSystemRepresentation;
224+
remoteURL = originURL.path.fileSystemRepresentation;
225225
} else {
226226
remoteURL = originURL.absoluteString.UTF8String;
227227
}

0 commit comments

Comments
 (0)