summaryrefslogtreecommitdiff
path: root/tests-clar/online/fetchhead.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-91/+0
|
* clone: put the callbacks struct directly in the clone optionsCarlos Martín Nieto2013-10-021-0/+2
| | | | There's no need for this to be a pointer to somewhere else.
* remote: put the _download() callback with the othersCarlos Martín Nieto2013-10-021-1/+1
| | | | | | The text progress and update_tips callbacks are already part of the struct, which was meant to unify the callback setup, but the download one was left out.
* 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.
* remote: allow querying for refspecsCarlos Martín Nieto2013-04-201-1/+1
| | | | | | | | Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs from the remote and rename the refspec-adding functions to a less silly name. Use this instead of the vector index hacks in the tests.
* remote: handle multiple refspecsCarlos Martín Nieto2013-04-201-2/+4
| | | | | | | | | | | | | A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function.
* config: don't allow passing NULL as a value to setCarlos Martín Nieto2013-03-091-2/+2
| | | | | | Passing NULL is non-sensical. The error message leaves to be desired, though, as it leaks internal implementation details. Catch it at the `git_config_set_string` level and set an appropriate error message.
* Fix fetchhead tests to expect nearly-danglingBen Straub2013-02-061-1/+1
|
* Merge branch 'development' into clar2Vicent Marti2013-01-031-12/+2
| | | | | | | Conflicts: tests-clar/clone/nonetwork.c tests-clar/online/clone.c tests-clar/online/fetchhead.c
* Disable Network suite by defaultVicent Marti2013-01-031-5/+5
|
* Cleanup Clar to make it SIMPLERVicent Marti2013-01-021-0/+97