summaryrefslogtreecommitdiff
path: root/tests/refs/createwithlog.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the signature from ref-modifying functionsCarlos Martín Nieto2015-03-031-5/+1
| | | | | | | | | | 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.
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-1/+1
|
* refs: remove the _with_log differentiationCarlos Martín Nieto2014-01-151-1/+1
| | | | | | Any well-behaved program should write a descriptive message to the reflog whenever it updates a reference. Let's make this more prominent by removing the version without the reflog parameters.
* reflog: integrate into the ref writingCarlos Martín Nieto2013-11-231-32/+0
| | | | | | | | | | | | Whenever a reference is created or updated, we need to write to the reflog regardless of whether the user gave us a message, so we shouldn't leave that to the ref frontend, but integrate it into the backend. This also eliminates the race between ref update and writing to the reflog, as we protect the reflog with the ref lock. As an additional benefit, this reflog append on the backend happens by appending to the file instead of parsing and rewriting it.
* refs: adjust to the new reflog APICarlos Martín Nieto2013-11-231-2/+2
|
* refs: Introduce git_reference_symbolic_create_with_log()nulltoken2013-11-231-0/+31
|
* refs: Introduce git_reference_create_with_log()nulltoken2013-11-231-0/+52