We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git_revwalk
1 parent 3b00247 commit f3d8e35Copy full SHA for f3d8e35
2 files changed
ObjectiveGit/GTEnumerator.h
@@ -64,6 +64,9 @@ NS_ASSUME_NONNULL_BEGIN
64
65
- (instancetype)init NS_UNAVAILABLE;
66
67
+/// The underlying `git_revwalk` from libgit2.
68
+- (git_revwalk *)git_revwalk __attribute__((objc_returns_inner_pointer));
69
+
70
/// Initializes the receiver to enumerate the commits in the given repository. Designated initializer.
71
///
72
/// repo - The repository to enumerate the commits of. This must not be nil.
ObjectiveGit/GTEnumerator.m
@@ -53,6 +53,10 @@ - (instancetype)init {
53
return nil;
54
}
55
56
+- (git_revwalk *)git_revwalk {
57
+ return self.walk;
58
+}
59
60
- (instancetype)initWithRepository:(GTRepository *)repo error:(NSError **)error {
61
NSParameterAssert(repo != nil);
62
0 commit comments