summaryrefslogtreecommitdiff
path: root/src/checkout.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-09-20 22:49:20 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-02 06:42:26 +0200
commiteec1c1fe1e9a12b57c4014be25ce4ed390c8e199 (patch)
tree8d033d331a8d705eab805336d37192946c1cc6bc /src/checkout.h
parentb9bf5d701dd6dfcfcb41d2655f59f7669cd50ef9 (diff)
downloadlibgit2-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 'src/checkout.h')
-rw-r--r--src/checkout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.h b/src/checkout.h
index b1dc80c38..6d7186860 100644
--- a/src/checkout.h
+++ b/src/checkout.h
@@ -19,6 +19,6 @@
*/
extern int git_checkout_iterator(
git_iterator *target,
- git_checkout_opts *opts);
+ const git_checkout_opts *opts);
#endif