diff options
author | Russell Belfer <rb@github.com> | 2012-11-09 11:19:46 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-11-09 13:52:07 -0800 |
commit | 0f3def715dc9af442f5f025c50a041c6319df1e8 (patch) | |
tree | e5a327bab384ab865471d019c83637b6ed167e3c /include/git2/checkout.h | |
parent | 8064ecba2384df32d5b821398a346f0c96cf74d1 (diff) | |
download | libgit2-0f3def715dc9af442f5f025c50a041c6319df1e8.tar.gz |
Fix various cross-platform build issues
This fixes a number of warnings and problems with cross-platform
builds. Among other things, it's not safe to name a member of a
structure "strcmp" because that may be #defined.
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r-- | include/git2/checkout.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index a9314c2cb..d444450f3 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -124,16 +124,20 @@ typedef enum { /** Only update existing files, don't create new ones */ GIT_CHECKOUT_UPDATE_ONLY = (1u << 6), - /** Allow checkout to skip unmerged files */ + /** + * THE FOLLOWING OPTIONS ARE NOT YET IMPLEMENTED + */ + + /** Allow checkout to skip unmerged files (NOT IMPLEMENTED) */ GIT_CHECKOUT_SKIP_UNMERGED = (1u << 10), - /** For unmerged files, checkout stage 2 from index */ + /** For unmerged files, checkout stage 2 from index (NOT IMPLEMENTED) */ GIT_CHECKOUT_USE_OURS = (1u << 11), - /** For unmerged files, checkout stage 3 from index */ + /** For unmerged files, checkout stage 3 from index (NOT IMPLEMENTED) */ GIT_CHECKOUT_USE_THEIRS = (1u << 12), - /** Recursively checkout submodule with same options */ + /** Recursively checkout submodules with same options (NOT IMPLEMENTED) */ GIT_CHECKOUT_UPDATE_SUBMODULES = (1u << 16), - /** Recursively checkout submodules only if HEAD moved in super repo */ + /** Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED) */ GIT_CHECKOUT_UPDATE_SUBMODULES_IF_CHANGED = (1u << 17), } git_checkout_strategy_t; |