summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-18 17:40:07 -0400
committerEdward Thomson <ethomson@microsoft.com>2014-10-26 22:59:10 -0400
commitdaf395b795a6a56ff745b3cfe70a82a5290dabea (patch)
treed187122acdaa90a47972b0629e954630f946e629
parent867a36f3a67d0d1905572b84a3e44093fcac643b (diff)
downloadlibgit2-daf395b795a6a56ff745b3cfe70a82a5290dabea.tar.gz
git_reset: const the git_signature arg
-rw-r--r--include/git2/reset.h2
-rw-r--r--src/reset.c2
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;