diff --git a/ObjectiveGit/GTBlob.h b/ObjectiveGit/GTBlob.h index 6865ee8a..034a2fa3 100644 --- a/ObjectiveGit/GTBlob.h +++ b/ObjectiveGit/GTBlob.h @@ -28,7 +28,7 @@ // -#import "GTObject.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTBranch.h b/ObjectiveGit/GTBranch.h index 3b3be239..b427d10c 100644 --- a/ObjectiveGit/GTBranch.h +++ b/ObjectiveGit/GTBranch.h @@ -23,7 +23,7 @@ // THE SOFTWARE. // -#import "GTObject.h" +#import @class GTCommit; @class GTReference; diff --git a/ObjectiveGit/GTCommit.h b/ObjectiveGit/GTCommit.h index c9a666b7..ffec8fd4 100644 --- a/ObjectiveGit/GTCommit.h +++ b/ObjectiveGit/GTCommit.h @@ -28,7 +28,7 @@ // -#import "GTObject.h" +#import @class GTSignature; @class GTTree; diff --git a/ObjectiveGit/GTConfiguration+Private.h b/ObjectiveGit/GTConfiguration+Private.h index 03b6f4f1..3c6aa292 100644 --- a/ObjectiveGit/GTConfiguration+Private.h +++ b/ObjectiveGit/GTConfiguration+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2012 GitHub, Inc. All rights reserved. // -#import "GTConfiguration.h" +#import @class GTRepository; diff --git a/ObjectiveGit/GTCredential+Private.h b/ObjectiveGit/GTCredential+Private.h index 33a54635..24ec7603 100644 --- a/ObjectiveGit/GTCredential+Private.h +++ b/ObjectiveGit/GTCredential+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTCredential.h" +#import // If you need to authenticate an operation in libgit2, you'll have to have // a `GTCredentialProvider` handy, like a parameter in the method you're writing, diff --git a/ObjectiveGit/GTDiff+Private.h b/ObjectiveGit/GTDiff+Private.h index bcf64092..80bfaf6b 100644 --- a/ObjectiveGit/GTDiff+Private.h +++ b/ObjectiveGit/GTDiff+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 GitHub, Inc. All rights reserved. // -#import "GTDiff.h" +#import @interface GTDiff () diff --git a/ObjectiveGit/GTDiff.h b/ObjectiveGit/GTDiff.h index 1ced8f0a..d44000ef 100644 --- a/ObjectiveGit/GTDiff.h +++ b/ObjectiveGit/GTDiff.h @@ -8,7 +8,7 @@ #import #import -#import "GTDiffDelta.h" +#import @class GTDiffDelta; @class GTRepository; diff --git a/ObjectiveGit/GTEnumerator.h b/ObjectiveGit/GTEnumerator.h index 4128517d..63c4ac90 100644 --- a/ObjectiveGit/GTEnumerator.h +++ b/ObjectiveGit/GTEnumerator.h @@ -28,7 +28,7 @@ // #import -#import "GTObject.h" +#import #import /// Options to specify enumeration order when enumerating through a repository. diff --git a/ObjectiveGit/GTIndexEntry.h b/ObjectiveGit/GTIndexEntry.h index c2cdc700..4447fa10 100644 --- a/ObjectiveGit/GTIndexEntry.h +++ b/ObjectiveGit/GTIndexEntry.h @@ -29,7 +29,7 @@ #import #include -#import "GTObject.h" +#import @class GTIndex; diff --git a/ObjectiveGit/GTObjectDatabase.h b/ObjectiveGit/GTObjectDatabase.h index c111d8b6..66d7ac86 100644 --- a/ObjectiveGit/GTObjectDatabase.h +++ b/ObjectiveGit/GTObjectDatabase.h @@ -23,7 +23,7 @@ // THE SOFTWARE. // -#import "GTObject.h" +#import @class GTOID; diff --git a/ObjectiveGit/GTOdbObject.h b/ObjectiveGit/GTOdbObject.h index 389bce72..a35668a7 100644 --- a/ObjectiveGit/GTOdbObject.h +++ b/ObjectiveGit/GTOdbObject.h @@ -6,7 +6,7 @@ // Copyright 2011 GitHub, Inc. All rights reserved. // -#import "GTObject.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTReference.h b/ObjectiveGit/GTReference.h index 6f00ee76..e6147c7d 100644 --- a/ObjectiveGit/GTReference.h +++ b/ObjectiveGit/GTReference.h @@ -23,7 +23,7 @@ // THE SOFTWARE. // -#import "GTObject.h" +#import #import @class GTOID; diff --git a/ObjectiveGit/GTReflog+Private.h b/ObjectiveGit/GTReflog+Private.h index 812cad51..6434d8c9 100644 --- a/ObjectiveGit/GTReflog+Private.h +++ b/ObjectiveGit/GTReflog+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTReflog.h" +#import @interface GTReflog () diff --git a/ObjectiveGit/GTReflogEntry+Private.h b/ObjectiveGit/GTReflogEntry+Private.h index 1cdece7e..c9630872 100644 --- a/ObjectiveGit/GTReflogEntry+Private.h +++ b/ObjectiveGit/GTReflogEntry+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTReflogEntry.h" +#import #import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+Attributes.h b/ObjectiveGit/GTRepository+Attributes.h index a86ab6e2..9c12263c 100644 --- a/ObjectiveGit/GTRepository+Attributes.h +++ b/ObjectiveGit/GTRepository+Attributes.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+Blame.h b/ObjectiveGit/GTRepository+Blame.h index 7e9e6424..3f19c0b5 100644 --- a/ObjectiveGit/GTRepository+Blame.h +++ b/ObjectiveGit/GTRepository+Blame.h @@ -7,7 +7,7 @@ // #import -#import "GTRepository.h" +#import #import diff --git a/ObjectiveGit/GTRepository+Committing.h b/ObjectiveGit/GTRepository+Committing.h index 4e551866..9de9efca 100644 --- a/ObjectiveGit/GTRepository+Committing.h +++ b/ObjectiveGit/GTRepository+Committing.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+Merging.h b/ObjectiveGit/GTRepository+Merging.h index f175d9d6..aabe0933 100644 --- a/ObjectiveGit/GTRepository+Merging.h +++ b/ObjectiveGit/GTRepository+Merging.h @@ -6,8 +6,8 @@ // Copyright © 2016 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" -#import "GTIndexEntry.h" +#import +#import #import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+Private.h b/ObjectiveGit/GTRepository+Private.h index f3341730..d62d58d2 100644 --- a/ObjectiveGit/GTRepository+Private.h +++ b/ObjectiveGit/GTRepository+Private.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+Pull.h b/ObjectiveGit/GTRepository+Pull.h index 939930e2..fb08c011 100644 --- a/ObjectiveGit/GTRepository+Pull.h +++ b/ObjectiveGit/GTRepository+Pull.h @@ -6,7 +6,7 @@ // Copyright © 2015 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+References.h b/ObjectiveGit/GTRepository+References.h index cfddac2f..d0617e5c 100644 --- a/ObjectiveGit/GTRepository+References.h +++ b/ObjectiveGit/GTRepository+References.h @@ -6,7 +6,7 @@ // Copyright (c) 2015 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTRepository+RemoteOperations.h b/ObjectiveGit/GTRepository+RemoteOperations.h index 9f3c03d4..e86f75b8 100644 --- a/ObjectiveGit/GTRepository+RemoteOperations.h +++ b/ObjectiveGit/GTRepository+RemoteOperations.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import #import @class GTFetchHeadEntry; diff --git a/ObjectiveGit/GTRepository+Reset.h b/ObjectiveGit/GTRepository+Reset.h index a93cb504..d0367959 100644 --- a/ObjectiveGit/GTRepository+Reset.h +++ b/ObjectiveGit/GTRepository+Reset.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import #import diff --git a/ObjectiveGit/GTRepository+Stashing.h b/ObjectiveGit/GTRepository+Stashing.h index ea022ac9..6db79380 100644 --- a/ObjectiveGit/GTRepository+Stashing.h +++ b/ObjectiveGit/GTRepository+Stashing.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import #import diff --git a/ObjectiveGit/GTRepository+Status.h b/ObjectiveGit/GTRepository+Status.h index 47cd0e60..ed88aeba 100644 --- a/ObjectiveGit/GTRepository+Status.h +++ b/ObjectiveGit/GTRepository+Status.h @@ -6,7 +6,7 @@ // Copyright (c) 2013 GitHub, Inc. All rights reserved. // -#import "GTRepository.h" +#import #import diff --git a/ObjectiveGit/GTRepository.h b/ObjectiveGit/GTRepository.h index b11339c2..d1c4819c 100644 --- a/ObjectiveGit/GTRepository.h +++ b/ObjectiveGit/GTRepository.h @@ -28,13 +28,13 @@ // #import -#import "GTBranch.h" -#import "GTEnumerator.h" -#import "GTFilterSource.h" -#import "GTObject.h" -#import "GTReference.h" -#import "GTFilterList.h" -#import "GTCheckoutOptions.h" +#import +#import +#import +#import +#import +#import +#import #import #import #import diff --git a/ObjectiveGit/GTSignature.h b/ObjectiveGit/GTSignature.h index 566fe1e8..3aaa2d81 100644 --- a/ObjectiveGit/GTSignature.h +++ b/ObjectiveGit/GTSignature.h @@ -28,7 +28,7 @@ // -#import "GTObject.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/ObjectiveGit/GTSubmodule.h b/ObjectiveGit/GTSubmodule.h index 41c665c1..8bfc3ae0 100644 --- a/ObjectiveGit/GTSubmodule.h +++ b/ObjectiveGit/GTSubmodule.h @@ -7,7 +7,7 @@ // #import -#import "GTObject.h" +#import #import #import diff --git a/ObjectiveGit/GTTag.h b/ObjectiveGit/GTTag.h index bd7318e6..a891ffcd 100644 --- a/ObjectiveGit/GTTag.h +++ b/ObjectiveGit/GTTag.h @@ -27,7 +27,7 @@ // THE SOFTWARE. // -#import "GTObject.h" +#import @class GTSignature; @class GTRepository; diff --git a/ObjectiveGit/GTTree.h b/ObjectiveGit/GTTree.h index 6ce0c0be..6bf3cb83 100644 --- a/ObjectiveGit/GTTree.h +++ b/ObjectiveGit/GTTree.h @@ -28,7 +28,7 @@ // -#import "GTObject.h" +#import #import @class GTTreeEntry; diff --git a/ObjectiveGit/GTTreeEntry.h b/ObjectiveGit/GTTreeEntry.h index f90bc135..0147c975 100644 --- a/ObjectiveGit/GTTreeEntry.h +++ b/ObjectiveGit/GTTreeEntry.h @@ -27,7 +27,7 @@ // THE SOFTWARE. // -#import "GTObject.h" +#import @class GTTree; diff --git a/ObjectiveGit/ObjectiveGit.h b/ObjectiveGit/ObjectiveGit.h index 5c8cba5b..39106f5f 100644 --- a/ObjectiveGit/ObjectiveGit.h +++ b/ObjectiveGit/ObjectiveGit.h @@ -24,7 +24,7 @@ // #import -#import "git2.h" +#import //! Project version number for ObjectiveGit. FOUNDATION_EXPORT double ObjectiveGitVersionNumber;