From daf395b795a6a56ff745b3cfe70a82a5290dabea Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Fri, 18 Jul 2014 17:40:07 -0400 Subject: git_reset: const the git_signature arg --- include/git2/reset.h | 2 +- src/reset.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/git2/reset.h b/include/git2/reset.h index 5f2ba572d..53f3e891e 100644 --- a/include/git2/reset.h +++ b/include/git2/reset.h @@ -70,7 +70,7 @@ GIT_EXTERN(int) git_reset( git_object *target, git_reset_t reset_type, git_checkout_options *checkout_opts, - git_signature *signature, + const git_signature *signature, const char *log_message); /** diff --git a/src/reset.c b/src/reset.c index d063abe25..dc3aa4a66 100644 --- a/src/reset.c +++ b/src/reset.c @@ -101,7 +101,7 @@ int git_reset( git_object *target, git_reset_t reset_type, git_checkout_options *checkout_opts, - git_signature *signature, + const git_signature *signature, const char *log_message) { git_object *commit = NULL; -- cgit v1.2.1