Lines Matching refs:given_opts
283 static int rebase_check_versions(const git_rebase_options *given_opts) in rebase_check_versions() argument
285 GIT_ERROR_CHECK_VERSION(given_opts, GIT_REBASE_OPTIONS_VERSION, "git_rebase_options"); in rebase_check_versions()
287 if (given_opts) in rebase_check_versions()
288 …GIT_ERROR_CHECK_VERSION(&given_opts->checkout_options, GIT_CHECKOUT_OPTIONS_VERSION, "git_checkout… in rebase_check_versions()
296 const git_rebase_options *given_opts) in git_rebase_open() argument
306 if ((error = rebase_check_versions(given_opts)) < 0) in git_rebase_open()
309 if (rebase_alloc(&rebase, given_opts) < 0) in git_rebase_open()
696 const git_rebase_options *given_opts) in git_rebase_init() argument
701 bool inmemory = (given_opts && given_opts->inmemory); in git_rebase_init()
712 if ((error = rebase_check_versions(given_opts)) < 0) in git_rebase_init()
730 if (rebase_alloc(&rebase, given_opts) < 0) in git_rebase_init()