diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-03-16 18:57:57 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-05-11 14:12:01 -0400 |
commit | 73dce1f688ca6ec8f5c56697dc57af36d15a1fe5 (patch) | |
tree | 6a8e0612efaba3e046325127bf0f77b2e07591da /include | |
parent | 9ebb5a3ff31a58a25714fbc98704b0fda0982cdb (diff) | |
download | libgit2-73dce1f688ca6ec8f5c56697dc57af36d15a1fe5.tar.gz |
checkout: allow baseline to be specified as index
Allow the baseline to be specified as an index, so that users
need not write their index to a tree just to checkout with that
as the baseline.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/checkout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index ed39bd3cb..58f190719 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -273,6 +273,7 @@ typedef struct git_checkout_options { git_strarray paths; git_tree *baseline; /**< expected content of workdir, defaults to HEAD */ + git_index *baseline_index; /**< expected content of workdir, expressed as an index. */ const char *target_directory; /**< alternative checkout path to workdir */ |