Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion External/libgit2
Submodule libgit2 updated 4230 files
1 change: 1 addition & 0 deletions ObjectiveGit/GTOID.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#import "NSError+Git.h"

#import "git2/errors.h"
#import "git2/deprecated.h"
#import "git2/odb.h"

@interface GTOID () {
Expand Down
5 changes: 3 additions & 2 deletions ObjectiveGit/GTObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ typedef NS_ENUM(int, GTObjectType) {
GTObjectTypeTree = GIT_OBJECT_TREE, /**< A tree (directory listing) object. */
GTObjectTypeBlob = GIT_OBJECT_BLOB, /**< A file revision object. */
GTObjectTypeTag = GIT_OBJECT_TAG, /**< An annotated tag object. */
GTObjectTypeOffsetDelta = GIT_OBJECT_OFS_DELTA,/**< A delta, base is given by an offset. */
GTObjectTypeRefDelta = GIT_OBJECT_REF_DELTA, /**< A delta, base is given by object id. */
// Pack-only types are no longer part of libgit2's public object enum.
GTObjectTypeOffsetDelta = 6, /**< A delta, base is given by an offset. */
GTObjectTypeRefDelta = 7, /**< A delta, base is given by object id. */
};

@class GTRepository;
Expand Down
1 change: 1 addition & 0 deletions ObjectiveGit/GTRepository.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#import <ObjectiveGit/GTFilterList.h>
#import <ObjectiveGit/GTCheckoutOptions.h>
#import <git2/checkout.h>
#import <git2/deprecated.h>
#import <git2/repository.h>
#import <git2/transport.h>
#import <git2/sys/transport.h>
Expand Down
1 change: 1 addition & 0 deletions script/update_libgit2
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_TESTS:BOOL=OFF \
-DTHREADSAFE:BOOL=ON \
-DUSE_SSH=libssh2 \
-DUSE_GSSAPI:BOOL=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
..
cmake --build .
Expand Down
Loading