summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-04-20 17:19:08 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-04-20 17:19:08 -0400
commit94c988f6d6f4930ee4c120f6ce7932b5e49637be (patch)
treef52538e92e43ff0a1fd320171113ab505368a1cf /include
parent7838235890b10e1e3c6ceb2c696c4721ad438246 (diff)
downloadlibgit2-94c988f6d6f4930ee4c120f6ce7932b5e49637be.tar.gz
rebase: include checkout opts within rebase opts
Diffstat (limited to 'include')
-rw-r--r--include/git2/rebase.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/rebase.h b/include/git2/rebase.h
index 370792f58..b85f7e2aa 100644
--- a/include/git2/rebase.h
+++ b/include/git2/rebase.h
@@ -55,7 +55,7 @@ typedef struct {
* and a minimum strategy of `GIT_CHECKOUT_FORCE` is defaulted in
* `abort` to match git semantics.
*/
- git_checkout_options *checkout_options;
+ git_checkout_options checkout_options;
} git_rebase_options;
/**
@@ -100,7 +100,8 @@ typedef enum {
} git_rebase_operation_t;
#define GIT_REBASE_OPTIONS_VERSION 1
-#define GIT_REBASE_OPTIONS_INIT {GIT_REBASE_OPTIONS_VERSION}
+#define GIT_REBASE_OPTIONS_INIT \
+ {GIT_REBASE_OPTIONS_VERSION, 0, NULL, GIT_CHECKOUT_OPTIONS_INIT}
/** Indicates that a rebase operation is not (yet) in progress. */
#define GIT_REBASE_NO_OPERATION SIZE_MAX