@@ -89,6 +89,21 @@ NS_ASSUME_NONNULL_BEGIN
8989// / Returns whether pushing matching references was successful.
9090- (BOOL )pushGlob : (NSString *)refGlob error : (NSError **)error ;
9191
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+
92107// / Hides the specified commit and all of its ancestors when enumerating.
93108// /
94109// / sha - The SHA of a commit in the receiver's repository. This must not be
@@ -106,6 +121,22 @@ NS_ASSUME_NONNULL_BEGIN
106121// / Returns whether marking matching references for hiding was successful.
107122- (BOOL )hideGlob : (NSString *)refGlob error : (NSError **)error ;
108123
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+
109140// / Resets the receiver, putting it back into a clean state for reuse, and
110141// / replacing the receiver's `options`.
111142- (void )resetWithOptions : (GTEnumeratorOptions)options ;
0 commit comments