summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTyler Ang-Wanek <tylerw@axosoft.com>2019-07-02 10:14:02 -0700
committerTyler Ang-Wanek <tylerw@axosoft.com>2019-07-02 10:14:02 -0700
commita5d4237c918aefb181dcb85acb7167ba09f8737b (patch)
treeeea12333755a8321531452d7f5929eb7f052537e /include
parent39bc514f7bf44f755d01339af83636cf163ef04c (diff)
downloadlibgit2-a5d4237c918aefb181dcb85acb7167ba09f8737b.tar.gz
fixup: code cleanup around rebase commit signing
Use ci_git_fail_with where appropriate. Use correct initializer for callback.
Diffstat (limited to 'include')
-rw-r--r--include/git2/rebase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/rebase.h b/include/git2/rebase.h
index 394117c24..0a3e3779c 100644
--- a/include/git2/rebase.h
+++ b/include/git2/rebase.h
@@ -134,7 +134,7 @@ typedef enum {
#define GIT_REBASE_OPTIONS_VERSION 1
#define GIT_REBASE_OPTIONS_INIT \
{ GIT_REBASE_OPTIONS_VERSION, 0, 0, NULL, GIT_MERGE_OPTIONS_INIT, \
- GIT_CHECKOUT_OPTIONS_INIT, 0, NULL }
+ GIT_CHECKOUT_OPTIONS_INIT, NULL, NULL }
/** Indicates that a rebase operation is not (yet) in progress. */
#define GIT_REBASE_NO_OPERATION SIZE_MAX