Permalink
Browse files

lots of style cleanup

  • Loading branch information...
1 parent 38d612d commit a41cf12203fc3586e041dc3e216f24b61e4f0255 @joshaber joshaber committed Sep 12, 2012
Showing with 141 additions and 154 deletions.
  1. +13 −0 Classes/GTConfiguration+Private.h
  2. +13 −0 Classes/GTRemote.h
  3. +13 −0 Classes/GTRemote.m
  4. +1 −2 Classes/GTRepository+Private.h
  5. +1 −6 Classes/GTRepository.h
  6. +100 −146 Classes/GTRepository.m
@@ -0,0 +1,13 @@
+//
+// GTConfiguration_Private.h
+// ObjectiveGitFramework
+//
+// Created by Josh Abernathy on 9/12/12.
+// Copyright (c) 2012 GitHub, Inc. All rights reserved.
+//
+
+#import <ObjectiveGit/ObjectiveGit.h>
+
+@interface GTConfiguration ()
+
+@end
View
@@ -0,0 +1,13 @@
+//
+// GTRemote.h
+// ObjectiveGitFramework
+//
+// Created by Josh Abernathy on 9/12/12.
+// Copyright (c) 2012 GitHub, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface GTRemote : NSObject
+
+@end
View
@@ -0,0 +1,13 @@
+//
+// GTRemote.m
+// ObjectiveGitFramework
+//
+// Created by Josh Abernathy on 9/12/12.
+// Copyright (c) 2012 GitHub, Inc. All rights reserved.
+//
+
+#import "GTRemote.h"
+
+@implementation GTRemote
+
+@end
@@ -10,8 +10,7 @@
@class GTEnumerator;
-
-@interface GTRepository (Private)
+@interface GTRepository ()
- (void)addEnumerator:(GTEnumerator *)enumerator;
- (void)removeEnumerator:(GTEnumerator *)enumerator;
View
@@ -39,7 +39,6 @@
@class GTBranch;
@class GTConfiguration;
-
// Options returned from the enumerateFileStatusUsingBlock: function
enum {
GTRepositoryFileStatusIndexNew = GIT_STATUS_INDEX_NEW,
@@ -57,8 +56,7 @@ typedef unsigned int GTRepositoryFileStatus;
typedef void (^GTRepositoryStatusBlock)(NSURL *fileURL, GTRepositoryFileStatus status, BOOL *stop);
-
-@interface GTRepository : NSObject <GTObject> {}
+@interface GTRepository : NSObject <GTObject>
@property (nonatomic, assign, readonly) git_repository *git_repository;
// The file URL for the repository's working directory.
@@ -166,9 +164,6 @@ typedef void (^GTRepositoryStatusBlock)(NSURL *fileURL, GTRepositoryFileStatus s
// returns the local commits, an empty array if there is no remote branch, or nil if an error occurred
- (NSArray *)localCommitsRelativeToRemoteBranch:(GTBranch *)remoteBranch error:(NSError **)error;
-- (NSArray *)remoteNames;
-- (BOOL)hasRemoteNamed:(NSString *)potentialRemoteName;
-
// Pack all references in the repository.
//
// error(out) - will be filled if an error occurs
Oops, something went wrong.

0 comments on commit a41cf12

Please sign in to comment.