mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Remove stray debug messages
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
#endif
|
||||
|
||||
if(self = [super init]) {
|
||||
if([[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load])
|
||||
NSLog(@"Quick Look loaded!");
|
||||
if(![[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load])
|
||||
NSLog(@"Could not load QuickLook");
|
||||
|
||||
self.cliProxy = [PBCLIProxy new];
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
@synthesize mouseDownPoint;
|
||||
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL) local
|
||||
{
|
||||
NSLog(@"a");
|
||||
return NSDragOperationCopy;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
[defaultValues setObject:[NSNumber numberWithInt:kDefaultVerticalLineLength]
|
||||
forKey:kCommitMessageViewVerticalLineLength];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultValues];
|
||||
NSLog(@"registered defaults: %@", defaultValues);
|
||||
}
|
||||
|
||||
+ (int) commitMessageViewVerticalLineLength
|
||||
|
||||
@@ -107,7 +107,6 @@
|
||||
|
||||
// If buffer is full, we go for another round
|
||||
if (buffer[BUFFERSIZE - 2] != 0) {
|
||||
//NSLog(@"Line too long!");
|
||||
buffer[BUFFERSIZE - 2] = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -103,10 +103,7 @@
|
||||
if (!localFileName)
|
||||
localFileName = [PBEasyFS tmpDirWithPrefix: path];
|
||||
|
||||
NSLog(@"Exporting children..");
|
||||
|
||||
for (PBGitTree* child in [self children]) {
|
||||
NSLog(@"Telling %@ to save to %@!", [child fullPath], localFileName);
|
||||
[child saveToFolder: localFileName];
|
||||
}
|
||||
|
||||
@@ -142,7 +139,6 @@
|
||||
return children;
|
||||
|
||||
NSString* ref = [self refSpec];
|
||||
NSLog(@"Starting get for %@", ref);
|
||||
|
||||
NSFileHandle* handle = [repository handleForArguments:[NSArray arrayWithObjects:@"show", ref, nil]];
|
||||
[handle readLine];
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
{
|
||||
NSString *path = [NSString stringWithFormat:@"html/views/%@", startFile];
|
||||
NSString* file = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:path];
|
||||
NSLog(@"path: %@, file: %@", path, file);
|
||||
NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL fileURLWithPath:file]];
|
||||
callbacks = [NSMapTable mapTableWithKeyOptions:(NSPointerFunctionsObjectPointerPersonality|NSPointerFunctionsStrongMemory) valueOptions:(NSPointerFunctionsObjectPointerPersonality|NSPointerFunctionsStrongMemory)];
|
||||
|
||||
|
||||
@@ -80,10 +80,7 @@
|
||||
|
||||
- (void) removeRef:(RefMenuItem *)sender
|
||||
{
|
||||
NSLog(@"Removing ref: %@", [sender ref]);
|
||||
if ([historyController.repository removeRef: [sender ref]])
|
||||
NSLog(@"Deletion succesful!");
|
||||
else
|
||||
if (![historyController.repository removeRef: [sender ref]])
|
||||
NSLog(@"Deletion failed!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user