Flag given_opts in git_revert as optional

The given_opts argument can actually be NULL and thus should be
flagged accordingly in the header file.
This commit is contained in:
Remy Suen 2017-02-04 17:24:31 +09:00 committed by GitHub
parent 104a1b0bd9
commit 21d4a3783e

View File

@ -75,7 +75,7 @@ GIT_EXTERN(int) git_revert_commit(
*
* @param repo the repository to revert
* @param commit the commit to revert
* @param given_opts merge flags
* @param given_opts the revert options (or null for defaults)
* @return zero on success, -1 on failure.
*/
GIT_EXTERN(int) git_revert(