From f9ff15cc6bf3c807425321581002f676985dd222 Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Thu, 28 May 2009 17:36:40 +0100 Subject: [PATCH] PBChangedFile: remove shouldBeDeleted boolean We don't need this anymore --- PBChangedFile.h | 3 +-- PBChangedFile.m | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PBChangedFile.h b/PBChangedFile.h index f4d53fd..7453db3 100644 --- a/PBChangedFile.h +++ b/PBChangedFile.h @@ -19,7 +19,6 @@ typedef enum { NSString *path; BOOL hasCachedChanges; BOOL hasUnstagedChanges; - BOOL shouldBeDeleted; // Index and HEAD stuff, to be used to revert changes NSString *commitBlobSHA; @@ -31,7 +30,7 @@ typedef enum { @property (copy) NSString *path, *commitBlobSHA, *commitBlobMode; @property (assign) PBChangedFileStatus status; -@property (assign) BOOL hasCachedChanges, hasUnstagedChanges, shouldBeDeleted; +@property (assign) BOOL hasCachedChanges, hasUnstagedChanges; - (NSImage *)icon; - (NSString *)indexInfo; diff --git a/PBChangedFile.m b/PBChangedFile.m index bbea198..e2bb7e8 100644 --- a/PBChangedFile.m +++ b/PBChangedFile.m @@ -11,7 +11,7 @@ @implementation PBChangedFile -@synthesize path, status, hasCachedChanges, hasUnstagedChanges, commitBlobSHA, commitBlobMode, shouldBeDeleted; +@synthesize path, status, hasCachedChanges, hasUnstagedChanges, commitBlobSHA, commitBlobMode; - (id) initWithPath:(NSString *)p {