Flag checkout_opts in git_reset as optional

The check_outs argument can be NULL and should be flagged accordingly
in the header file.
This commit is contained in:
Remy Suen 2017-02-05 07:12:32 +09:00 committed by GitHub
parent 887c1931a2
commit 3a13365269

View File

@ -53,7 +53,7 @@ typedef enum {
*
* @param reset_type Kind of reset operation to perform.
*
* @param checkout_opts Checkout options to be used for a HARD reset.
* @param checkout_opts Optional checkout options to be used for a HARD reset.
* The checkout_strategy field will be overridden (based on reset_type).
* This parameter can be used to propagate notify and progress callbacks.
*