diff options
Diffstat (limited to 'tests-clar/checkout/checkout_util.h')
| -rw-r--r-- | tests-clar/checkout/checkout_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests-clar/checkout/checkout_util.h b/tests-clar/checkout/checkout_util.h new file mode 100644 index 000000000..d6aa7ed47 --- /dev/null +++ b/tests-clar/checkout/checkout_util.h @@ -0,0 +1,5 @@ +GIT_INLINE(void) reset_checkout_opts(git_checkout_opts *opts) +{ + git_checkout_opts init_opts = GIT_CHECKOUT_OPTS_INIT; + memmove(opts, &init_opts, sizeof(git_checkout_opts)); +} |
