Skip to content

Commit 6265c77

Browse files
committed
CommitView: Remove cruft
1 parent 5323b91 commit 6265c77

File tree

5 files changed

+0
-25
lines changed

5 files changed

+0
-25
lines changed

PBGitCommitController.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525

2626
NSString *status;
2727
BOOL busy;
28-
29-
NSDictionary *amendEnvironment;
30-
3128
}
3229

3330
@property(copy) NSString *status;

PBGitIndexController.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
IBOutlet NSTableView *stagedTable;
2424
}
2525

26-
@property (assign) int contextSize;
27-
28-
- (NSString *) contextParameter;
29-
3026
- (IBAction) rowClicked:(NSCell *) sender;
3127
- (IBAction) tableClicked:(NSTableView *)tableView;
3228

PBGitIndexController.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ - (void)resumeTrackingIndex;
2020

2121
@implementation PBGitIndexController
2222

23-
@synthesize contextSize;
24-
2523
- (void)awakeFromNib
2624
{
27-
contextSize = 3;
28-
2925
[unstagedTable setDoubleAction:@selector(tableClicked:)];
3026
[stagedTable setDoubleAction:@selector(tableClicked:)];
3127

@@ -315,11 +311,6 @@ - (BOOL)tableView:(NSTableView *)aTableView
315311
return YES;
316312
}
317313

318-
- (NSString *) contextParameter
319-
{
320-
return [[NSString alloc] initWithFormat:@"-U%i", contextSize];
321-
}
322-
323314
# pragma mark WebKit Accessibility
324315

325316
+ (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector

PBWebChangesController.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@
2727
- (void) setStateMessage:(NSString *)state;
2828

2929
- (void) showMultiple:(NSArray *)files;
30-
- (void) setContextSize:(int)size;
3130
@end

PBWebChangesController.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,4 @@ - (void) setStateMessage:(NSString *)state
113113
[script callWebScriptMethod:@"setState" withArguments: [NSArray arrayWithObject:state]];
114114
}
115115

116-
- (void) setContextSize:(int)size
117-
{
118-
if (size == indexController.contextSize)
119-
return;
120-
121-
indexController.contextSize = size;
122-
[self refresh];
123-
}
124116
@end

0 commit comments

Comments
 (0)