@@ -89,6 +89,21 @@ NS_ASSUME_NONNULL_BEGIN
89
89
// / Returns whether pushing matching references was successful.
90
90
- (BOOL )pushGlob : (NSString *)refGlob error : (NSError **)error ;
91
91
92
+ // / Push HEAD reference.
93
+ // /
94
+ // / error - If not NULL, this will be set to any error that occurs.
95
+ // /
96
+ // / Returns whether pushing the HEAD reference was successful.
97
+ - (BOOL )pushHEAD : (NSError **)error ;
98
+
99
+ // / Push a reference by name.
100
+ // /
101
+ // / refName - The reference name to push. Must not be nil.
102
+ // / error - If not NULL, this will be set to any error that occurs.
103
+ // /
104
+ // / Returns whether pushing the reference name was successful.
105
+ - (BOOL )pushReferenceName : (NSString *)refName error : (NSError **)error ;
106
+
92
107
// / Hides the specified commit and all of its ancestors when enumerating.
93
108
// /
94
109
// / sha - The SHA of a commit in the receiver's repository. This must not be
@@ -106,6 +121,22 @@ NS_ASSUME_NONNULL_BEGIN
106
121
// / Returns whether marking matching references for hiding was successful.
107
122
- (BOOL )hideGlob : (NSString *)refGlob error : (NSError **)error ;
108
123
124
+ // / Hide HEAD reference.
125
+ // /
126
+ // / error - If not NULL, this will be set to any error that occurs.
127
+ // /
128
+ // / Returns whether marking HEAD for hiding was successful.
129
+ - (BOOL )hideHEAD : (NSError **)error ;
130
+
131
+
132
+ // / Hide a reference by name.
133
+ // /
134
+ // / refName - The reference name to hide. Must not be nil.
135
+ // / error - If not NULL, this will be set to any error that occurs.
136
+ // /
137
+ // / Returns whether hiding the reference name was successful.
138
+ - (BOOL )hideReferenceName : (NSString *)refName error : (NSError **)error ;
139
+
109
140
// / Resets the receiver, putting it back into a clean state for reuse, and
110
141
// / replacing the receiver's `options`.
111
142
- (void )resetWithOptions : (GTEnumeratorOptions)options ;
0 commit comments