diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-09-20 22:49:20 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-02 06:42:26 +0200 |
commit | eec1c1fe1e9a12b57c4014be25ce4ed390c8e199 (patch) | |
tree | 8d033d331a8d705eab805336d37192946c1cc6bc /include/git2/clone.h | |
parent | b9bf5d701dd6dfcfcb41d2655f59f7669cd50ef9 (diff) | |
download | libgit2-eec1c1fe1e9a12b57c4014be25ce4ed390c8e199.tar.gz |
clone: const-ify checkout options
The removal of many options which lead to the direct usage of the
user's checkout options means we should make sure they remain const.
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r-- | include/git2/clone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h index cf759ab5c..a59de1bc7 100644 --- a/include/git2/clone.h +++ b/include/git2/clone.h @@ -104,7 +104,7 @@ GIT_EXTERN(int) git_clone( * default branch * @return 0 on success or an error code */ -GIT_EXTERN(int) git_clone_into(git_repository *repo, git_remote *remote, git_checkout_opts *co_opts, const char *branch); +GIT_EXTERN(int) git_clone_into(git_repository *repo, git_remote *remote, const git_checkout_opts *co_opts, const char *branch); /** @} */ GIT_END_DECL |