Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 1 | -284/+0 |
| | |||||
* | refs: add git_reference_is_tag | Nikolai Vladimirov | 2013-08-26 | 1 | -0/+16 |
| | |||||
* | immutable references and a pluggable ref database | Edward Thomson | 2013-03-07 | 1 | -5/+6 |
| | |||||
* | refs: cover git_reference_name_to_oid() unfound behavior | nulltoken | 2012-12-01 | 1 | -0/+4 |
| | |||||
* | refs: Deploy EINVALIDSPEC usage | nulltoken | 2012-12-01 | 1 | -4/+20 |
| | |||||
* | Rename ref and reflog apis for consistency | Ben Straub | 2012-11-27 | 1 | -9/+9 |
| | |||||
* | Reset all static variables to NULL in clar's __cleanup | Sascha Cunz | 2012-11-23 | 1 | -0/+1 |
| | | | | | | | | | | | | Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096 | ||||
* | Fix leak in the tests | Carlos Martín Nieto | 2012-10-15 | 1 | -0/+1 |
| | | | | | Also introduce the slective ref trimming promised but also missed in the previous commit. | ||||
* | refs: loosen the OID parsing | Carlos Martín Nieto | 2012-10-15 | 1 | -0/+1 |
| | | | | | | | | | | | | We used to require loose references to contain only an OID (possibly after trimming the string). This is however not enough for letting us lookup FETCH_HEAD, which can have a lot of content after the initial OID. Change the parsing rules so that a loose refernce must e at least 40 bytes long and the 41st (if it's there) must be accepted by isspace(3). This makes the trim unnecessary, so only do it for symrefs. This fixes #977. | ||||
* | refs: introduce git_reference_is_valid_name() | nulltoken | 2012-09-25 | 1 | -2/+2 |
| | |||||
* | Test trailing space after ref oid | Joshua Peek | 2012-08-09 | 1 | -0/+12 |
| | |||||
* | Parse ref oids without trailing newline | Joshua Peek | 2012-08-09 | 1 | -0/+12 |
| | |||||
* | branch: introduce git_reference_is_branch() | nulltoken | 2012-07-24 | 1 | -0/+16 |
| | |||||
* | refs: readonly tests don't need a sandboxed repo | nulltoken | 2012-07-12 | 1 | -2/+2 |
| | |||||
* | refs: deep unfound ref returns ENOTFOUND | nulltoken | 2012-07-07 | 1 | -0/+10 |
| | |||||
* | Update test suite | Vicent Martí | 2012-05-02 | 1 | -6/+6 |
| | |||||
* | tests: Cleanup & fix test suite | Vicent Martí | 2012-04-03 | 1 | -15/+10 |
| | |||||
* | Discovered cl_git_strequal! Mounted a crusade! | Ben Straub | 2012-03-31 | 1 | -6/+6 |
| | |||||
* | t10-refs.c ported. | Ben Straub | 2012-03-30 | 1 | -0/+199 |