Skip to content

Commit 16ef587

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents b64f024 + 4673546 commit 16ef587

30 files changed

+203
-101
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
osx_image: xcode7
1+
osx_image: xcode8
22
language: objective-c
33
matrix:
44
fast_finish: true
55
include:
6-
- osx_image: xcode7.3
6+
- osx_image: xcode8
77
env:
88
- SCHEME="ObjectiveGit Mac"
9-
- osx_image: xcode7.3
9+
- osx_image: xcode8
1010
env:
1111
- SCHEME="ObjectiveGit iOS"
1212
before_install:

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "Quick/Nimble" "v4.0.0"
2-
github "Quick/Quick" "v0.9.2"
3-
github "ZipArchive/ZipArchive" "v1.1"
1+
github "Quick/Nimble" "v4.1.0"
2+
github "Quick/Quick" "v0.9.3"
3+
github "ZipArchive/ZipArchive" "v1.6.2"
44
github "jspahrsummers/xcconfigs" "0.9"

Carthage/Checkouts/ZipArchive

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2012 libgit2 contributors
3+
Copyright (c) 2016 libgit2 contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

ObjectiveGit/Categories/NSError+Git.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@
2929

3030
#import <Foundation/Foundation.h>
3131

32+
/// The error domain used by Objective-Git
3233
extern NSString * const GTGitErrorDomain;
3334

35+
/// Error userinfo keys
36+
extern NSString * const GTGitErrorOID;
37+
3438
@interface NSError (Git)
3539

3640
/// Describes the given libgit2 error code, using any message provided by

ObjectiveGit/Categories/NSError+Git.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#import "git2/errors.h"
3232

3333
NSString * const GTGitErrorDomain = @"GTGitErrorDomain";
34+
NSString * const GTGitErrorOID = @"GTOID";
3435

3536
@implementation NSError (Git)
3637

ObjectiveGit/GTDiff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ typedef NS_OPTIONS(NSInteger, GTDiffFindOptionsFlags) {
308308
- (git_diff *)git_diff __attribute__((objc_returns_inner_pointer));
309309

310310
/// The number of deltas of the given type that are contained in the diff.
311-
- (NSUInteger)numberOfDeltasWithType:(GTDiffDeltaType)deltaType;
311+
- (NSUInteger)numberOfDeltasWithType:(GTDeltaType)deltaType;
312312

313313
/// Enumerate the deltas in a diff.
314314
///

ObjectiveGit/GTDiff.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ - (NSUInteger)deltaCount {
234234
return git_diff_num_deltas(self.git_diff);
235235
}
236236

237-
- (NSUInteger)numberOfDeltasWithType:(GTDiffDeltaType)deltaType {
237+
- (NSUInteger)numberOfDeltasWithType:(GTDeltaType)deltaType {
238238
return git_diff_num_deltas_of_type(self.git_diff, (git_delta_t)deltaType);
239239
}
240240

0 commit comments

Comments
 (0)