diff options
author | Remy Suen <remy.suen@gmail.com> | 2017-02-04 17:24:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 17:24:31 +0900 |
commit | 21d4a3783e657c2426511760579e8883b076068f (patch) | |
tree | 7136372d482c4bd9f78e72f024cb71ce7f2fac43 /include | |
parent | 104a1b0bd997433a1838b4583c6604f32953344c (diff) | |
download | libgit2-21d4a3783e657c2426511760579e8883b076068f.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/revert.h | 2 |
1 files changed, 1 insertions, 1 deletions
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( |