mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Fixed GitX URL scheme problem (On Lion it always comes back as 'gitx').
This commit is contained in:
+2
-1
@@ -93,7 +93,8 @@
|
||||
return request;
|
||||
|
||||
// TODO: Change this to canInitWithRequest
|
||||
if ([[[request URL] scheme] isEqualToString:@"GitX"]) {
|
||||
NSString *scheme = [[[request URL] scheme] lowercaseString];
|
||||
if ([scheme isEqualToString:@"gitx"]) {
|
||||
NSMutableURLRequest *newRequest = [request mutableCopy];
|
||||
[newRequest setRepository:self.repository];
|
||||
return newRequest;
|
||||
|
||||
Reference in New Issue
Block a user