summaryrefslogtreecommitdiff
path: root/tests-clar/fetchhead
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-142-340/+0
|
* Reorganize diff and add basic diff driverRussell Belfer2013-06-101-1/+1
| | | | | | | | | | | | | | | | | | This is a significant reorganization of the diff code to break it into a set of more clearly distinct files and to document the new organization. Hopefully this will make the diff code easier to understand and to extend. This adds a new `git_diff_driver` object that looks of diff driver information from the attributes and the config so that things like function content in diff headers can be provided. The full driver spec is not implemented in the commit - this is focused on the reorganization of the code and putting the driver hooks in place. This also removes a few #includes from src/repository.h that were overbroad, but as a result required extra #includes in a variety of places since including src/repository.h no longer results in pulling in the whole world.
* Fetchhead: don't expect a tag that isn't thereBen Straub2013-02-062-1/+9
|
* Fix fetchhead tests to expect nearly-danglingBen Straub2013-02-061-2/+4
|
* Use cl_assert_equal_s() instead of strcmp().Sebastian Bauer2013-01-251-5/+5
| | | | | Replaced all cl_assert(!strcmp()) or semantically equivalent forms by cl_assert_equal_s().
* Cleanup Clar to make it SIMPLERVicent Marti2013-01-021-99/+0
|
* fetchhead reading/iteratingEdward Thomson2012-12-191-35/+245
|
* Fix fetchhead testsBen Straub2012-12-151-2/+1
|
* Move non-options back out of options structBen Straub2012-12-141-5/+4
|
* Deploy git_clone_options; remove git_clone_bareBen Straub2012-12-141-5/+10
|
* Define constant for default fetch specBen Straub2012-12-131-1/+1
|
* Convert clone to use dangling remotesBen Straub2012-12-121-1/+8
|
* API updates for remote.hBen Straub2012-11-271-1/+1
| | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-232-2/+8
| | | | | | | | | | | | 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
* Call git_remote_update_tips before git_remote_disconnectPhilip Kelley2012-11-221-2/+1
|
* create FETCH_HEAD specially instead of as a ref fileEdward Thomson2012-11-113-0/+204