Skip to content

Commit 3a13365

Browse files
authored
Flag checkout_opts in git_reset as optional
The check_outs argument can be NULL and should be flagged accordingly in the header file.
1 parent 887c193 commit 3a13365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/reset.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ typedef enum {
5353
*
5454
* @param reset_type Kind of reset operation to perform.
5555
*
56-
* @param checkout_opts Checkout options to be used for a HARD reset.
56+
* @param checkout_opts Optional checkout options to be used for a HARD reset.
5757
* The checkout_strategy field will be overridden (based on reset_type).
5858
* This parameter can be used to propagate notify and progress callbacks.
5959
*

0 commit comments

Comments
 (0)