diff options
| author | Sven Strickroth <email@cs-ware.de> | 2014-08-03 15:44:13 +0200 |
|---|---|---|
| committer | Sven Strickroth <email@cs-ware.de> | 2014-08-03 16:29:51 +0200 |
| commit | b8add6c42ead8721c32dea8f473a61b48091ccb1 (patch) | |
| tree | 66570833a5e3c5f3c908fbc0ccc434ebba86d338 /include/git2/reset.h | |
| parent | 59e3f45b6150984e6a74ce79062caa459eda369f (diff) | |
| download | libgit2-b8add6c42ead8721c32dea8f473a61b48091ccb1.tar.gz | |
Allow to propagate checkout callbacks to git HARD reset
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'include/git2/reset.h')
| -rw-r--r-- | include/git2/reset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/reset.h b/include/git2/reset.h index ea7217efe..5f2ba572d 100644 --- a/include/git2/reset.h +++ b/include/git2/reset.h @@ -52,6 +52,10 @@ typedef enum { * * @param reset_type Kind of reset operation to perform. * + * @param checkout_opts Checkout options to be used for a HARD reset. + * The checkout_strategy field will be overridden (based on reset_type). + * This parameter can be used to propagate notify and progress callbacks. + * * @param signature The identity that will used to populate the reflog entry * * @param log_message The one line long message to be appended to the reflog. @@ -65,6 +69,7 @@ GIT_EXTERN(int) git_reset( git_repository *repo, git_object *target, git_reset_t reset_type, + git_checkout_options *checkout_opts, git_signature *signature, const char *log_message); |
