diff options
author | Etienne Samson <tiennou7@gmail.com> | 2013-07-09 12:52:25 +0200 |
---|---|---|
committer | Etienne Samson <tiennou7@gmail.com> | 2013-07-09 12:52:25 +0200 |
commit | 2274993be5acf3a9fcf62abbf1f00d06fb513624 (patch) | |
tree | e33c829dc493f3d62a6676c243bd5101a7ff6001 /src | |
parent | 82cb8e236a07d8684c53aa8ee5b1c6195f788371 (diff) | |
download | libgit2-2274993be5acf3a9fcf62abbf1f00d06fb513624.tar.gz |
Make the git_signature const in the stash API.
Diffstat (limited to 'src')
-rw-r--r-- | src/stash.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stash.c b/src/stash.c index 1222634d5..48f19144d 100644 --- a/src/stash.c +++ b/src/stash.c @@ -117,7 +117,7 @@ static int build_tree_from_index(git_tree **out, git_index *index) static int commit_index( git_commit **i_commit, git_index *index, - git_signature *stasher, + const git_signature *stasher, const char *message, const git_commit *parent) { @@ -267,7 +267,7 @@ cleanup: static int commit_untracked( git_commit **u_commit, git_index *index, - git_signature *stasher, + const git_signature *stasher, const char *message, git_commit *i_commit, uint32_t flags) @@ -354,7 +354,7 @@ cleanup: static int commit_worktree( git_oid *w_commit_oid, git_index *index, - git_signature *stasher, + const git_signature *stasher, const char *message, git_commit *i_commit, git_commit *b_commit, @@ -431,7 +431,7 @@ cleanup: static int update_reflog( git_oid *w_commit_oid, git_repository *repo, - git_signature *stasher, + const git_signature *stasher, const char *message) { git_reference *stash = NULL; @@ -510,7 +510,7 @@ static int reset_index_and_workdir( int git_stash_save( git_oid *out, git_repository *repo, - git_signature *stasher, + const git_signature *stasher, const char *message, uint32_t flags) { |