git_reset: const the git_signature arg

This commit is contained in:
Edward Thomson 2014-07-18 17:40:07 -04:00 committed by Edward Thomson
parent 867a36f3a6
commit daf395b795
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ GIT_EXTERN(int) git_reset(
git_object *target, git_object *target,
git_reset_t reset_type, git_reset_t reset_type,
git_checkout_options *checkout_opts, git_checkout_options *checkout_opts,
git_signature *signature, const git_signature *signature,
const char *log_message); const char *log_message);
/** /**

View File

@ -101,7 +101,7 @@ int git_reset(
git_object *target, git_object *target,
git_reset_t reset_type, git_reset_t reset_type,
git_checkout_options *checkout_opts, git_checkout_options *checkout_opts,
git_signature *signature, const git_signature *signature,
const char *log_message) const char *log_message)
{ {
git_object *commit = NULL; git_object *commit = NULL;