File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ NS_ASSUME_NONNULL_BEGIN
6464
6565- (instancetype )init NS_UNAVAILABLE;
6666
67+ // / The underlying `git_revwalk` from libgit2.
68+ - (git_revwalk *)git_revwalk __attribute__((objc_returns_inner_pointer));
69+
6770// / Initializes the receiver to enumerate the commits in the given repository. Designated initializer.
6871// /
6972// / repo - The repository to enumerate the commits of. This must not be nil.
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ - (instancetype)init {
5353 return nil ;
5454}
5555
56+ - (git_revwalk *)git_revwalk {
57+ return self.walk ;
58+ }
59+
5660- (instancetype )initWithRepository : (GTRepository *)repo error : (NSError **)error {
5761 NSParameterAssert (repo != nil );
5862
You can’t perform that action at this time.
0 commit comments