You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedefenum {
GIT_CHECKOUT_NONE = 0, /**< default is a dry run, no actual updates *//** * Allow safe updates that cannot overwrite uncommitted data. * If the uncommitted changes don't conflict with the checked out files, * the checkout will still proceed, leaving the changes intact. * * Mutually exclusive with GIT_CHECKOUT_FORCE. * GIT_CHECKOUT_FORCE takes precedence over GIT_CHECKOUT_SAFE.*/
GIT_CHECKOUT_SAFE = (1u << 0),
/** * Allow all updates to force working directory to look like index. * * Mutually exclusive with GIT_CHECKOUT_SAFE. * GIT_CHECKOUT_FORCE takes precedence over GIT_CHECKOUT_SAFE.*/
GIT_CHECKOUT_FORCE = (1u << 1),
c_git_checkout_strategy_t*=enum
c_GIT_CHECKOUT_NONE =0shl0
c_GIT_CHECKOUT_SAFE =1shl0## default is a dry run, no actual updates
c_GIT_CHECKOUT_FORCE =1shl1
c_GIT_CHECKOUT_RECREATE_MISSING =1shl2## Allow checkout to recreate missing files
c_GIT_CHECKOUT_ALLOW_CONFLICTS =1shl4## Allow checkout to make safe updates even if conflicts are found
c_GIT_CHECKOUT_REMOVE_UNTRACKED =1shl5## Remove untracked files not in index (that are not ignored)
c_GIT_CHECKOUT_REMOVE_IGNORED =1shl6## Remove ignored files not in index
c_GIT_CHECKOUT_UPDATE_ONLY =1shl7## Only update existing files, don't create new ones
c_GIT_CHECKOUT_DONT_UPDATE_INDEX =1shl8
c_GIT_CHECKOUT_NO_REFRESH =1shl9## Don't refresh index/config/etc before doing checkout
c_GIT_CHECKOUT_SKIP_UNMERGED =1shl10## Allow checkout to skip unmerged files
c_GIT_CHECKOUT_USE_OURS =1shl11## For unmerged files, checkout stage 2 from index
c_GIT_CHECKOUT_USE_THEIRS =1shl12## For unmerged files, checkout stage 3 from index
c_GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH =1shl13## Treat pathspec as simple list of exact match file paths
c_GIT_CHECKOUT_UPDATE_SUBMODULES =1shl16## Recursively checkout submodules with same options (NOT IMPLEMENTED)
c_GIT_CHECKOUT_UPDATE_SUBMODULES_IF_CHANGED =1shl17## Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED)
c_GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES =1shl18## Ignore directories in use, they will be left empty
c_GIT_CHECKOUT_DONT_OVERWRITE_IGNORED =1shl19## Don't overwrite ignored files that exist in the checkout target
c_GIT_CHECKOUT_CONFLICT_STYLE_MERGE =1shl20## Write normal merge files for conflicts
c_GIT_CHECKOUT_CONFLICT_STYLE_DIFF3 =1shl21## Include common ancestor data in diff3 format files for conflicts
c_GIT_CHECKOUT_DONT_REMOVE_EXISTING =1shl22## Don't overwrite existing files or folders
c_GIT_CHECKOUT_DONT_WRITE_INDEX =1shl23## Normally checkout writes the index upon completion; this prevents that.
Which misses parts of the documentation comments. This is caused by incorrect boost::wave file expansion. I already have Doxygen XML parser, maybe I should use it directly, instead of reimplementing the own ad-hoc converter that does not even translate documentation comment semantics.
The text was updated successfully, but these errors were encountered:
haxscramper
changed the title
Partially missing documentation comments for enum values
Do not reimplement ad-hoc comment scraper, use proper tools to extract this data
Oct 23, 2021
https://github.com/libgit2/libgit2/blob/2998a84ab644ad39b62553baf9c4b30269be7d75/include/git2/checkout.h#L107-L125
is wrapped as https://github.com/haxscramper/hlibgit2/blob/2b3ba88ffd4848b13d06cfd1843236df8aa563a0/src/hlibgit2/checkout.nim#L18-L40
Which misses parts of the documentation comments. This is caused by incorrect boost::wave file expansion. I already have Doxygen XML parser, maybe I should use it directly, instead of reimplementing the own ad-hoc converter that does not even translate documentation comment semantics.
The text was updated successfully, but these errors were encountered: