Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove stray debug messages

  • Loading branch information...
commit 304a1a5d03c387e6a62cbe94f8f408d0aa4e99d9 1 parent 4cefe8e
@pieter pieter authored
View
4 ApplicationController.m
@@ -24,8 +24,8 @@ - (ApplicationController*)init
#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];
}
View
1  PBCommitList.m
@@ -14,7 +14,6 @@ @implementation PBCommitList
@synthesize mouseDownPoint;
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL) local
{
- NSLog(@"a");
return NSDragOperationCopy;
}
View
1  PBGitDefaults.m
@@ -19,7 +19,6 @@ + (void)initialize
[defaultValues setObject:[NSNumber numberWithInt:kDefaultVerticalLineLength]
forKey:kCommitMessageViewVerticalLineLength];
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultValues];
- NSLog(@"registered defaults: %@", defaultValues);
}
+ (int) commitMessageViewVerticalLineLength
View
1  PBGitRevList.m
@@ -107,7 +107,6 @@ - (void) walkRevisionListWithSpecifier: (PBGitRevSpecifier*) rev
// If buffer is full, we go for another round
if (buffer[BUFFERSIZE - 2] != 0) {
- //NSLog(@"Line too long!");
buffer[BUFFERSIZE - 2] = 0;
continue;
}
View
4 PBGitTree.m
@@ -103,10 +103,7 @@ - (NSString*) tmpDirWithContents
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 @@ - (NSArray*) children
return children;
NSString* ref = [self refSpec];
- NSLog(@"Starting get for %@", ref);
NSFileHandle* handle = [repository handleForArguments:[NSArray arrayWithObjects:@"show", ref, nil]];
[handle readLine];
View
1  PBWebController.m
@@ -20,7 +20,6 @@ - (void) awakeFromNib
{
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)];
View
5 PBWebHistoryController.m
@@ -80,10 +80,7 @@ - (void) copySource
- (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!");
}
Please sign in to comment.
Something went wrong with that request. Please try again.