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
64
64
65
65
- (instancetype )init NS_UNAVAILABLE;
66
66
67
+ // / The underlying `git_revwalk` from libgit2.
68
+ - (git_revwalk *)git_revwalk __attribute__((objc_returns_inner_pointer));
69
+
67
70
// / Initializes the receiver to enumerate the commits in the given repository. Designated initializer.
68
71
// /
69
72
// / 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 {
53
53
return nil ;
54
54
}
55
55
56
+ - (git_revwalk *)git_revwalk {
57
+ return self.walk ;
58
+ }
59
+
56
60
- (instancetype )initWithRepository : (GTRepository *)repo error : (NSError **)error {
57
61
NSParameterAssert (repo != nil );
58
62
You can’t perform that action at this time.
0 commit comments