Skip to content
Browse files

Declare some readonly properties as properties rather than simple get…

…ter methods.
  • Loading branch information...
1 parent a1b2456 commit 20c7cd85a8686ddc13dd32a0acfde6246066e50b @dannygreg dannygreg committed Feb 27, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 Classes/GTCommit.h
View
11 Classes/GTCommit.h
@@ -40,15 +40,14 @@
@property (nonatomic, readonly, strong) GTSignature *author;
@property (nonatomic, readonly, strong) GTSignature *committer;
@property (nonatomic, readonly, copy) NSArray *parents;
+@property (nonatomic, readonly) NSString *message;
+@property (nonatomic, readonly) NSString *messageDetails;
+@property (nonatomic, readonly) NSString *messageSummary;
+@property (nonatomic, readonly) NSDate *commitDate;
+@property (nonatomic, readonly) GTTree *tree;
+ (GTCommit *)commitInRepository:(GTRepository *)theRepo updateRefNamed:(NSString *)refName author:(GTSignature *)authorSig committer:(GTSignature *)committerSig message:(NSString *)newMessage tree:(GTTree *)theTree parents:(NSArray *)theParents error:(NSError **)error;
+ (NSString *)shaByCreatingCommitInRepository:(GTRepository *)theRepo updateRefNamed:(NSString *)refName author:(GTSignature *)authorSig committer:(GTSignature *)committerSig message:(NSString *)newMessage tree:(GTTree *)theTree parents:(NSArray *)theParents error:(NSError **)error;
-- (NSString *)message;
-- (NSString *)messageDetails;
-- (NSString *)messageSummary;
-- (NSDate *)commitDate;
-- (GTTree *)tree;
-
@end

0 comments on commit 20c7cd8

Please sign in to comment.
Something went wrong with that request. Please try again.