diff options
| author | Vicent Martà <vicent@github.com> | 2013-06-21 14:29:21 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-06-21 14:29:21 -0700 |
| commit | 5d669f0a96ab858750f4fdd90f138225946934c2 (patch) | |
| tree | 08a22c76140d116551afe73a7f996ae53a1753e8 /include/git2 | |
| parent | 00197c34d6385a2de3970c9f820714064c5bf27f (diff) | |
| parent | d4f98ba4f124a836ed964a71137a6dae28358704 (diff) | |
| download | libgit2-5d669f0a96ab858750f4fdd90f138225946934c2.tar.gz | |
Merge pull request #1665 from arrbee/checkout-target-directory
Add target directory to checkout options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/checkout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index f49e87566..a086408c7 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -236,6 +236,8 @@ typedef struct git_checkout_opts { git_strarray paths; git_tree *baseline; /** expected content of workdir, defaults to HEAD */ + + const char *target_directory; /** alternative checkout path to workdir */ } git_checkout_opts; #define GIT_CHECKOUT_OPTS_VERSION 1 |
