summaryrefslogtreecommitdiff
path: root/include/git2/reset.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing include for resetCarlos Martín Nieto2015-05-201-0/+1
| | | | | Our doc parser really wants the types to be declared in the header it's reading.
* reset: `git_checkout_options` is `const`Edward Thomson2015-04-201-2/+2
|
* Add annotated commit versions of reflog-modifying functionsCarlos Martín Nieto2015-03-161-0/+18
| | | | | | | We do not always want to put the id directly into the reflog, but we want to speicfy what a user typed. For this use-case we provide annotated version of a few functions which let the caller specify what user-friendly name was used when asking for the operation.
* reset: remove reflog message overrideCarlos Martín Nieto2015-03-031-8/+1
| | | | | This function is meant to simulate what git does in the reset command, so we should include the reflog message in that.
* Remove the signature from ref-modifying functionsCarlos Martín Nieto2015-03-031-2/+0
| | | | | | | | | | The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature.
* git_reset: const the git_signature argEdward Thomson2014-10-261-1/+1
|
* Allow to propagate checkout callbacks to git HARD resetSven Strickroth2014-08-031-0/+5
| | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Documentation fixesCarlos Martín Nieto2014-07-081-0/+4
| | | | | | | | Fixup git_attr_value's comment to be recognised as documentation, and include the definitions needed for clang to parse reset.h such that it shows up in the documentation. This fixes #2430.
* Formatting fixes for the docsCarlos Martín Nieto2014-06-031-3/+3
| | | | | These are some issues I found while playing around with the new parser for docurium.
* Add reflog parameters to git_resetBen Straub2014-02-031-1/+12
|
* Unify whitespaces to tabsLinquize2013-05-151-3/+3
|
* reset: Introduce git_reset_default()nulltoken2013-02-051-0/+23
|
* reset: Enhance documentationnulltoken2013-02-051-3/+3
|
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Updates to reset.hRussell Belfer2012-11-271-7/+18
|
* reset: add support for GIT_RESET_HARD modenulltoken2012-09-171-0/+3
|
* Make git_object_peel a bit smarterRussell Belfer2012-08-271-1/+1
| | | | | | | | | | | This expands the types of peeling that `git_object_peel` knows how to do to include TAG -> BLOB peeling, and makes the errors slightly more consistent depending on the situation. It also adds a new special behavior where peeling to ANY will peel until the object type changes (e.g. chases TAGs to a non-TAG). Using this expanded peeling, this replaces peeling code that was embedded in `git_tag_peel` and `git_reset`.
* Add git_reset()nulltoken2012-06-071-0/+44
Currently supports Soft and Mixed modes.