Skip to content

Commit 21d4a37

Browse files
authored
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.
1 parent 104a1b0 commit 21d4a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/revert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ GIT_EXTERN(int) git_revert_commit(
7575
*
7676
* @param repo the repository to revert
7777
* @param commit the commit to revert
78-
* @param given_opts merge flags
78+
* @param given_opts the revert options (or null for defaults)
7979
* @return zero on success, -1 on failure.
8080
*/
8181
GIT_EXTERN(int) git_revert(

0 commit comments

Comments
 (0)