Commit daf395b795a6a56ff745b3cfe70a82a5290dabea

Edward Thomson 2014-07-18T17:40:07

git_reset: const the git_signature arg

diff --git a/include/git2/reset.h b/include/git2/reset.h
index 5f2ba57..53f3e89 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 d063abe..dc3aa4a 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;