summaryrefslogtreecommitdiff
path: root/tests/refs/create.c
Commit message (Collapse)AuthorAgeFilesLines
* refs::create: strict object creation on by defaultEdward Thomson2016-04-111-5/+5
| | | | | | | | When we turned strict object creation validation on by default, we forgot to inform the refs::create tests of this. They, in fact, believed that strict object creation was off by default. As a result, their cleanup function went and turned strict object creation off for the remaining tests.
* tests: plug a leakCarlos Martín Nieto2016-03-031-0/+1
|
* refs: honor strict object creationEdward Thomson2016-02-281-2/+24
|
* refs: complain when a directory exists at refEdward Thomson2015-11-121-0/+17
| | | | | When a (non-empty) directory exists at the reference target location, complain with a more actionable error message.
* Remove the signature from ref-modifying functionsCarlos Martín Nieto2015-03-031-9/+9
| | | | | | | | | | 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.
* reference_create: validate loose namesEdward Thomson2014-12-161-3/+45
| | | | Validate loose reference names on Win32.
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-5/+5
|
* refs: remove the _with_log differentiationCarlos Martín Nieto2014-01-151-8/+8
| | | | | | 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.
* Rename tests-clar to testsBen Straub2013-11-141-0/+168