Skip to content

Commit 5fe3d4d

Browse files
committed
Revert "Add missing libgit2 header imports"
This reverts commit 6640f90.
1 parent 6640f90 commit 5fe3d4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3
-98
lines changed

ObjectiveGit/Categories/NSData+Git.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#import <Foundation/Foundation.h>
66
#import "git2/buffer.h"
7-
#import "git2/oid.h"
87

98
@interface NSData (Git)
109

ObjectiveGit/Categories/NSData+Git.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#import "NSData+Git.h"
66
#import "NSError+Git.h"
77

8-
#import "git2/errors.h"
9-
108
@implementation NSData (Git)
119

1210
+ (NSData *)git_dataWithOid:(git_oid *)oid {

ObjectiveGit/GTBlob.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
#import "NSError+Git.h"
3535
#import "NSString+Git.h"
3636

37-
#import "git2/blob.h"
38-
#import "git2/errors.h"
39-
4037
@implementation GTBlob
4138

4239
- (NSString *)description {

ObjectiveGit/GTBranch.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
#import "GTRemote.h"
3232
#import "NSError+Git.h"
3333

34-
#import "git2/branch.h"
35-
#import "git2/errors.h"
36-
#import "git2/graph.h"
37-
3834
@implementation GTBranch
3935

4036
- (NSString *)description {

ObjectiveGit/GTCommit.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
#import "NSDate+GTTimeAdditions.h"
3737
#import "GTOID.h"
3838

39-
#import "git2/commit.h"
40-
#import "git2/errors.h"
41-
4239
@implementation GTCommit
4340

4441
- (NSString *)description {

ObjectiveGit/GTConfiguration.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
#import "NSError+Git.h"
1414
#import "GTSignature.h"
1515

16-
#import "git2/config.h"
17-
#import "git2/errors.h"
18-
1916
@interface GTConfiguration ()
2017
@property (nonatomic, readonly, assign) git_config *git_config;
2118
@end

ObjectiveGit/GTCredential.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#import "GTCredential+Private.h"
1111
#import "NSError+Git.h"
1212

13-
#import "git2/errors.h"
14-
1513
typedef GTCredential *(^GTCredentialProviderBlock)(GTCredentialType allowedTypes, NSString *URL, NSString *userName);
1614

1715
@interface GTCredentialProvider ()

ObjectiveGit/GTDiff.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
#import "GTCommit.h"
1212
#import "GTRepository.h"
1313
#import "GTTree.h"
14+
1415
#import "NSArray+StringArray.h"
1516
#import "NSError+Git.h"
1617

1718
#import "EXTScope.h"
1819

19-
#import "git2/errors.h"
20-
2120
NSString *const GTDiffOptionsFlagsKey = @"GTDiffOptionsFlagsKey";
2221
NSString *const GTDiffOptionsContextLinesKey = @"GTDiffOptionsContextLinesKey";
2322
NSString *const GTDiffOptionsInterHunkLinesKey = @"GTDiffOptionsInterHunkLinesKey";

ObjectiveGit/GTDiffDelta.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#import "GTDiffPatch.h"
1515
#import "NSError+Git.h"
1616

17-
#import "git2/errors.h"
18-
1917
@interface GTDiffDelta ()
2018

2119
/// Used to dynamically access the underlying `git_diff_delta`.

ObjectiveGit/GTDiffHunk.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#import "GTDiffLine.h"
1212
#import "GTDiffPatch.h"
1313
#import "NSError+Git.h"
14-
15-
#import "git2/errors.h"
1614
#import "git2/patch.h"
1715

1816
@interface GTDiffHunk ()

0 commit comments

Comments
 (0)