mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user