From 21d4a3783e657c2426511760579e8883b076068f Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Sat, 4 Feb 2017 17:24:31 +0900 Subject: [PATCH] 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. --- include/git2/revert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/git2/revert.h b/include/git2/revert.h index 2de194219..82dbadcfc 100644 --- a/include/git2/revert.h +++ b/include/git2/revert.h @@ -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( -- 2.39.5