@@ -89,9 +89,9 @@ GIT_EXTERN(int) git_reference_dwim(git_reference **out, git_repository *repo, co
8989 * This function will return an error if a reference already exists with the
9090 * given name unless `force` is true, in which case it will be overwritten.
9191 *
92- * The signature and message for the reflog will be ignored if the
93- * reference does not belong in the standard set (HEAD, branches and
94- * remote-tracking branches) and it does not have a reflog.
92+ * The message for the reflog will be ignored if the reference does
93+ * not belong in the standard set (HEAD, branches and remote-tracking
94+ * branches) and it does not have a reflog.
9595 *
9696 * It will return GIT_EMODIFIED if the reference's value at the time
9797 * of updating does not match the one passed through `current_value`
@@ -103,11 +103,10 @@ GIT_EXTERN(int) git_reference_dwim(git_reference **out, git_repository *repo, co
103103 * @param target The target of the reference
104104 * @param force Overwrite existing references
105105 * @param current_value The expected value of the reference when updating
106- * @param signature The identity that will used to populate the reflog entry
107106 * @param log_message The one line long message to be appended to the reflog
108107 * @return 0 on success, GIT_EEXISTS, GIT_EINVALIDSPEC, GIT_EMODIFIED or an error code
109108 */
110- GIT_EXTERN (int ) git_reference_symbolic_create_matching (git_reference * * out , git_repository * repo , const char * name , const char * target , int force , const char * current_value , const git_signature * signature , const char * log_message );
109+ GIT_EXTERN (int ) git_reference_symbolic_create_matching (git_reference * * out , git_repository * repo , const char * name , const char * target , int force , const char * current_value , const char * log_message );
111110
112111/**
113112 * Create a new symbolic reference.
@@ -131,20 +130,19 @@ GIT_EXTERN(int) git_reference_symbolic_create_matching(git_reference **out, git_
131130 * This function will return an error if a reference already exists with the
132131 * given name unless `force` is true, in which case it will be overwritten.
133132 *
134- * The signature and message for the reflog will be ignored if the
135- * reference does not belong in the standard set (HEAD, branches and
136- * remote-tracking branches) and it does not have a reflog.
133+ * The message for the reflog will be ignored if the reference does
134+ * not belong in the standard set (HEAD, branches and remote-tracking
135+ * branches) and it does not have a reflog.
137136 *
138137 * @param out Pointer to the newly created reference
139138 * @param repo Repository where that reference will live
140139 * @param name The name of the reference
141140 * @param target The target of the reference
142141 * @param force Overwrite existing references
143- * @param signature The identity that will used to populate the reflog entry
144142 * @param log_message The one line long message to be appended to the reflog
145143 * @return 0 on success, GIT_EEXISTS, GIT_EINVALIDSPEC or an error code
146144 */
147- GIT_EXTERN (int ) git_reference_symbolic_create (git_reference * * out , git_repository * repo , const char * name , const char * target , int force , const git_signature * signature , const char * log_message );
145+ GIT_EXTERN (int ) git_reference_symbolic_create (git_reference * * out , git_repository * repo , const char * name , const char * target , int force , const char * log_message );
148146
149147/**
150148 * Create a new direct reference.
@@ -169,20 +167,19 @@ GIT_EXTERN(int) git_reference_symbolic_create(git_reference **out, git_repositor
169167 * This function will return an error if a reference already exists with the
170168 * given name unless `force` is true, in which case it will be overwritten.
171169 *
172- * The signature and message for the reflog will be ignored if the
173- * reference does not belong in the standard set (HEAD, branches and
174- * remote-tracking branches) and and it does not have a reflog.
170+ * The message for the reflog will be ignored if the reference does
171+ * not belong in the standard set (HEAD, branches and remote-tracking
172+ * branches) and and it does not have a reflog.
175173 *
176174 * @param out Pointer to the newly created reference
177175 * @param repo Repository where that reference will live
178176 * @param name The name of the reference
179177 * @param id The object id pointed to by the reference.
180178 * @param force Overwrite existing references
181- * @param signature The identity that will used to populate the reflog entry
182179 * @param log_message The one line long message to be appended to the reflog
183180 * @return 0 on success, GIT_EEXISTS, GIT_EINVALIDSPEC or an error code
184181 */
185- GIT_EXTERN (int ) git_reference_create (git_reference * * out , git_repository * repo , const char * name , const git_oid * id , int force , const git_signature * signature , const char * log_message );
182+ GIT_EXTERN (int ) git_reference_create (git_reference * * out , git_repository * repo , const char * name , const git_oid * id , int force , const char * log_message );
186183
187184/**
188185 * Conditionally create new direct reference
@@ -207,9 +204,9 @@ GIT_EXTERN(int) git_reference_create(git_reference **out, git_repository *repo,
207204 * This function will return an error if a reference already exists with the
208205 * given name unless `force` is true, in which case it will be overwritten.
209206 *
210- * The signature and message for the reflog will be ignored if the
211- * reference does not belong in the standard set (HEAD, branches and
212- * remote-tracking branches) and and it does not have a reflog.
207+ * The message for the reflog will be ignored if the reference does
208+ * not belong in the standard set (HEAD, branches and remote-tracking
209+ * branches) and and it does not have a reflog.
213210 *
214211 * It will return GIT_EMODIFIED if the reference's value at the time
215212 * of updating does not match the one passed through `current_id`
@@ -221,12 +218,11 @@ GIT_EXTERN(int) git_reference_create(git_reference **out, git_repository *repo,
221218 * @param id The object id pointed to by the reference.
222219 * @param force Overwrite existing references
223220 * @param current_id The expected value of the reference at the time of update
224- * @param signature The identity that will used to populate the reflog entry
225221 * @param log_message The one line long message to be appended to the reflog
226222 * @return 0 on success, GIT_EMODIFIED if the value of the reference
227223 * has changed, GIT_EEXISTS, GIT_EINVALIDSPEC or an error code
228224 */
229- GIT_EXTERN (int ) git_reference_create_matching (git_reference * * out , git_repository * repo , const char * name , const git_oid * id , int force , const git_oid * current_id , const git_signature * signature , const char * log_message );
225+ GIT_EXTERN (int ) git_reference_create_matching (git_reference * * out , git_repository * repo , const char * name , const git_oid * id , int force , const git_oid * current_id , const char * log_message );
230226
231227/**
232228 * Get the OID pointed to by a direct reference.
@@ -320,22 +316,20 @@ GIT_EXTERN(git_repository *) git_reference_owner(const git_reference *ref);
320316 * The target name will be checked for validity.
321317 * See `git_reference_symbolic_create()` for rules about valid names.
322318 *
323- * The signature and message for the reflog will be ignored if the
324- * reference does not belong in the standard set (HEAD, branches and
325- * remote-tracking branches) and and it does not have a reflog.
319+ * The message for the reflog will be ignored if the reference does
320+ * not belong in the standard set (HEAD, branches and remote-tracking
321+ * branches) and and it does not have a reflog.
326322 *
327323 * @param out Pointer to the newly created reference
328324 * @param ref The reference
329325 * @param target The new target for the reference
330- * @param signature The identity that will used to populate the reflog entry
331326 * @param log_message The one line long message to be appended to the reflog
332327 * @return 0 on success, GIT_EINVALIDSPEC or an error code
333328 */
334329GIT_EXTERN (int ) git_reference_symbolic_set_target (
335330 git_reference * * out ,
336331 git_reference * ref ,
337332 const char * target ,
338- const git_signature * signature ,
339333 const char * log_message );
340334
341335/**
@@ -348,7 +342,6 @@ GIT_EXTERN(int) git_reference_symbolic_set_target(
348342 * @param out Pointer to the newly created reference
349343 * @param ref The reference
350344 * @param id The new target OID for the reference
351- * @param signature The identity that will used to populate the reflog entry
352345 * @param log_message The one line long message to be appended to the reflog
353346 * @return 0 on success, GIT_EMODIFIED if the value of the reference
354347 * has changed since it was read, or an error code
@@ -357,7 +350,6 @@ GIT_EXTERN(int) git_reference_set_target(
357350 git_reference * * out ,
358351 git_reference * ref ,
359352 const git_oid * id ,
360- const git_signature * signature ,
361353 const char * log_message );
362354
363355/**
@@ -379,7 +371,6 @@ GIT_EXTERN(int) git_reference_set_target(
379371 * @param ref The reference to rename
380372 * @param new_name The new name for the reference
381373 * @param force Overwrite an existing reference
382- * @param signature The identity that will used to populate the reflog entry
383374 * @param log_message The one line long message to be appended to the reflog
384375 * @return 0 on success, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code
385376 *
@@ -389,7 +380,6 @@ GIT_EXTERN(int) git_reference_rename(
389380 git_reference * ref ,
390381 const char * new_name ,
391382 int force ,
392- const git_signature * signature ,
393383 const char * log_message );
394384
395385/**
0 commit comments