Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reset test: fix initialization warning | Edward Thomson | 2016-02-11 | 1 | -1/+1 |
| | |||||
* | reset: perform the checkout before moving HEAD or the indexcmn/reset-dir-file | Carlos Martín Nieto | 2015-12-09 | 1 | -0/+52 |
| | | | | | | This keeps the state of the workdir the same as one from HEAD, removing a source of possible confusion when calculating the work that is to be done. | ||||
* | conflict tests: use GIT_IDXENTRY_STAGE_SET | Edward Thomson | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | Add tests for the annotated versions of ref-modifying functions | Carlos Martín Nieto | 2015-03-16 | 1 | -1/+12 |
| | | | | | This also brings the soft-reset tests back to life. The function name was missing an underscore, meaning they had not been running. | ||||
* | Plug a few leaks | Carlos Martín Nieto | 2015-03-04 | 1 | -0/+2 |
| | |||||
* | reset: remove reflog message override | Carlos Martín Nieto | 2015-03-03 | 1 | -18/+10 |
| | | | | | 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 functions | Carlos Martín Nieto | 2015-03-03 | 1 | -7/+7 |
| | | | | | | | | | | 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. | ||||
* | Allow to propagate checkout callbacks to git HARD reset | Sven Strickroth | 2014-08-03 | 1 | -7/+7 |
| | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | refs: append to the HEAD reflog when updating the current branch | Carlos Martín Nieto | 2014-03-17 | 1 | -4/+6 |
| | | | | | | | | When we update the current branch, we must also append to HEAD's reflog to keep them in sync. This is a bit of a hack, but as git.git says, it covers 100% of default cases. | ||||
* | Plug a few leaks in the tests | Carlos Martín Nieto | 2014-03-07 | 1 | -0/+4 |
| | |||||
* | Add reset tests for reflog | Ben Straub | 2014-02-03 | 1 | -0/+27 |
| | |||||
* | Add reflog parameters to git_reset | Ben Straub | 2014-02-03 | 1 | -4/+4 |
| | |||||
* | Reset helpers: use revparse instead | Ben Straub | 2014-02-03 | 1 | -5/+4 |
| | |||||
* | index: rename an entry's id to 'id' | Carlos Martín Nieto | 2014-01-25 | 1 | -1/+1 |
| | | | | This was not converted when we converted the rest, so do it now. | ||||
* | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 1 | -0/+200 |