summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-10-02 05:56:37 -0700
committerVicent Martí <vicent@github.com>2013-10-02 05:56:37 -0700
commit5bfead1dba919f6b47f52da675ea94407e8baf49 (patch)
tree4b879238df61eccc2f048fe51e10fce421967e26 /include/git2/checkout.h
parent71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff)
parent0e0cf78773bea0d06298ba3bf981a3be839041df (diff)
downloadlibgit2-5bfead1dba919f6b47f52da675ea94407e8baf49.tar.gz
Merge pull request #1855 from libgit2/cmn/clone-into
An alternative for 'clone' with options
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r--include/git2/checkout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index aa48069cd..844f0a9e2 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -255,7 +255,7 @@ typedef struct git_checkout_opts {
*/
GIT_EXTERN(int) git_checkout_head(
git_repository *repo,
- git_checkout_opts *opts);
+ const git_checkout_opts *opts);
/**
* Updates files in the working tree to match the content of the index.