summaryrefslogtreecommitdiff
path: root/tests-clar/online/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-171/+0
|
* remote: make _ls return the list directlyCarlos Martín Nieto2013-11-111-14/+5
| | | | | | | | | | | The callback-based method of listing remote references dates back to the beginning of the network code's lifetime, when we didn't know any better. We need to keep the list around for update_tips() after disconnect() so let's make use of this to simply give the user a pointer to the array so they can write straightforward code instead of having to go through a callback.
* remote: put the _download() callback with the othersCarlos Martín Nieto2013-10-021-3/+15
| | | | | | 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.
* Disconnect path string to preserve after redirectRussell Belfer2013-09-241-0/+5
| | | | | | | | | | | | The subtransport path was relying on pointing to data owned by the remote which meant that after a redirect, the updated path was getting lost for future requests. This updates the http transport to strdup the path and maintain its own lifetime. This also pulls responsibility for parsing the URL back into the http transport and isolates the functions that parse and free that connection data so that they can be reused between the initial parsing and the redirect parsing.
* Allow git_remote_ls after disconnecting from the remoteCarlos Martín Nieto2013-04-151-0/+27
| | | | Keep the data around until free, as expected by our own fetch example
* Enhance test coverage for transfer cancellationBen Straub2013-02-051-0/+22
|
* Allow progress callback to cancel fetchBen Straub2013-02-051-2/+4
| | | | | This works by having the indexer watch the return code of the callback, so will only take effect on object boundaries.
* Merge branch 'development' into clar2Vicent Marti2013-01-031-6/+4
| | | | | | | Conflicts: tests-clar/clone/nonetwork.c tests-clar/online/clone.c tests-clar/online/fetchhead.c
* Disable Network suite by defaultVicent Marti2013-01-031-7/+7
|
* Cleanup Clar to make it SIMPLERVicent Marti2013-01-021-0/+114