summaryrefslogtreecommitdiff
path: root/tests/refs/races.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the signature from ref-modifying functionsCarlos Martín Nieto2015-03-031-17/+17
| | | | | | | | | | 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.
* refs: move current_id before the reflog parametersCarlos Martín Nieto2014-02-101-4/+4
| | | | | Keep the reflog parameters as the last two, as they're the optional parameters.
* refs: catch cases where the ref type has changedCarlos Martín Nieto2014-02-051-0/+58
| | | | | If the type of the on-disk reference has changed, the old value comparison should fail.
* refs: check the ref's old value when deletingCarlos Martín Nieto2014-02-051-0/+33
| | | | Recognize when the reference has changed since we loaded it.
* refs: bring conditional symbolic updates to the frontendCarlos Martín Nieto2014-02-051-1/+20
| | | | Bring the race detection goodness to symbolic references as well.
* refs: add tests for conditional updatesCarlos Martín Nieto2014-02-051-0/+42