]>
Commit | Line | Data |
---|---|---|
cf208031 RB |
1 | /* |
2 | * Copyright (C) 2009-2012 the libgit2 contributors | |
3 | * | |
4 | * This file is part of libgit2, distributed under the GNU GPL v2 with | |
5 | * a Linking Exception. For full terms see the included COPYING file. | |
6 | */ | |
7 | #ifndef INCLUDE_checkout_h__ | |
8 | #define INCLUDE_checkout_h__ | |
9 | ||
10 | #include "git2/checkout.h" | |
11 | #include "iterator.h" | |
12 | ||
7e5c8a5b | 13 | #define GIT_CHECKOUT__NOTIFY_CONFLICT_TREE (1u << 12) |
cf208031 RB |
14 | |
15 | /** | |
7e5c8a5b RB |
16 | * Update the working directory to match the target iterator. The |
17 | * expected baseline value can be passed in via the checkout options | |
18 | * or else will default to the HEAD commit. | |
cf208031 | 19 | */ |
7e5c8a5b RB |
20 | extern int git_checkout_iterator( |
21 | git_iterator *target, | |
22 | git_checkout_opts *opts); | |
cf208031 RB |
23 | |
24 | #endif |