Remove launchedFromCLI ivar from PBGitRepository.

Purely cosmetic: rearrange some @synthesized directives.

State like this is now more appropriately managed by the ApplicationController.
This commit is contained in:
André Berg
2010-04-05 16:50:11 +02:00
parent 4b4912a57a
commit 0c26fb5dde
2 changed files with 6 additions and 6 deletions
-3
View File
@@ -50,8 +50,6 @@ static NSString * PBStringFromBranchFilterType(PBGitXBranchFilterType type) {
NSMutableDictionary *refs;
PBGitRevSpecifier *_headRef; // Caching
BOOL launchedFromCLI;
}
- (void) cloneRepositoryToPath:(NSString *)path bare:(BOOL)isBare;
@@ -137,6 +135,5 @@ static NSString * PBStringFromBranchFilterType(PBGitXBranchFilterType type) {
@property (assign) PBGitRevSpecifier *currentBranch;
@property (assign) NSInteger currentBranchFilter;
@property (retain) NSMutableDictionary* refs;
@property (assign) BOOL launchedFromCLI;
@end
+6 -3
View File
@@ -10,7 +10,6 @@
#import "PBGitCommit.h"
#import "PBGitWindowController.h"
#import "PBGitBinary.h"
#import "NSFileHandleExt.h"
#import "PBEasyPipe.h"
#import "PBGitRef.h"
@@ -23,9 +22,13 @@ static NSString * repositoryBasePath = nil;
@implementation PBGitRepository
@synthesize revisionList, branches, currentBranch, refs, hasChanged, config;
@synthesize revisionList;
@synthesize branches;
@synthesize currentBranch;
@synthesize refs;
@synthesize hasChanged;
@synthesize config;
@synthesize currentBranchFilter;
@synthesize launchedFromCLI;
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError
{