summaryrefslogtreecommitdiff
path: root/include/git2/stash.h
Commit message (Collapse)AuthorAgeFilesLines
* stash: make comment match codeJosh Bleecher Snyder2019-12-041-1/+1
| | | | There is no git_stash_apply_flags_t above.
* Don't use enum for flagsSven Strickroth2019-09-261-1/+1
| | | | | | Using an `enum` causes trouble when used with C++ as bitwise operations are not possible w/o casting (e.g., `opts.flags &= ~GIT_BLOB_FILTER_CHECK_FOR_BINARY;` is invalid as there is no `&=` operator for `enum`). Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Rename opt init functions to `options_init`Edward Thomson2019-06-141-2/+2
| | | | | | | | | | | | | In libgit2 nomenclature, when we need to verb a direct object, we name a function `git_directobject_verb`. Thus, if we need to init an options structure named `git_foo_options`, then the name of the function that does that should be `git_foo_options_init`. The previous names of `git_foo_init_options` is close - it _sounds_ as if it's initializing the options of a `foo`, but in fact `git_foo_options` is its own noun that should be respected. Deprecate the old names; they'll now call directly to the new ones.
* Introduce GIT_CALLBACK macro to enforce cdeclEdward Thomson2019-01-171-2/+2
| | | | | | | | | Since we now always build the library with cdecl calling conventions, our callbacks should be decorated as such so that users will not be able to provide callbacks defined with other calling conventions. The `GIT_CALLBACK` macro will inject the `__cdecl` attribute as appropriate.
* docs: standardize struct git_*_options commentsEtienne Samson2018-05-071-4/+4
|
* docs: standardize comment block for git_*_init_options functionsEtienne Samson2018-05-071-4/+5
|
* docs: missing documentation commentEtienne Samson2018-05-071-0/+1
|
* docs: add buffer.h & oid.h to types.hEtienne Samson2018-05-071-0/+1
| | | | Otherwise docurium/clang chokes on the types, and ignores the documentation comments altogether.
* Flag optional parameters for apply and popRemy Suen2017-02-091-2/+2
| | | | The options parameter in both git_stash_apply and git_stash_pop can be NULL. They should be flagged as such in the documentation.
* Export git_stash_apply_init_optionsjbreeden2016-01-231-1/+1
|
* Fix a couple function signaturesThomas Edvalson2015-12-141-1/+1
|
* stash_apply: provide progress callbacksEdward Thomson2015-05-111-0/+38
|
* stash_apply: provide its own options structureEdward Thomson2015-05-111-17/+50
|
* stash apply: default to at least GIT_CHECKOUT_SAFEEdward Thomson2015-05-111-1/+3
|
* stash: document merge conflictsEdward Thomson2015-05-111-13/+11
|
* stash: refactor to use merge_iteratorsEdward Thomson2015-05-111-6/+6
|
* Added git_stash_apply() and git_stash_pop() APIsPierre-Olivier Latour2015-05-111-4/+64
|
* doc: add documentation to all the public structs and enumscmn/doc-allCarlos Martín Nieto2014-12-061-6/+15
| | | | | | | | | | This makes them show up in the reference, even if the text itself isn't the most descriptive. These have been found with grep -Przon '\n\ntypedef struct.*?\{' -- include grep -Przon '\n\ntypedef enum.*?\{' -- include
* Update docs for new callback return value behaviorRussell Belfer2013-12-111-11/+7
|
* Make the git_signature const in the stash API.Etienne Samson2013-07-091-1/+1
|
* Fixed most documentation header bugsAndreas Linde2013-06-241-1/+1
| | | | | | | | | | | Fixed a few header @param and @return typos with the help of -Wdocumentation in Xcode. The following warnings have not been fixed: common.h:213 - Not sure how the documentation format is for '...' notes.h:102 - Correct @param name but empty text notes.h:111 - Correct @param name but empty text pack.h:140 - @return missing text pack.h:148 - @return missing text
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* API updates for stash.hBen Straub2012-11-271-9/+8
|
* stash: add git_stash_drop()nulltoken2012-10-261-0/+15
|
* stash: add git_stash_foreach()nulltoken2012-10-261-0/+40
|
* stash: add git_stash_save()nulltoken2012-10-261-0/+67