summaryrefslogtreecommitdiff
path: root/tests/clone
Commit message (Collapse)AuthorAgeFilesLines
* clone: remote git_clone_into{,_local} from the public APIcmn/clone-custom-repoCarlos Martín Nieto2014-07-022-37/+8
| | | | | | As git_clone now has callbacks to configure the details of the repository and remote, remove the lower-level functions from the public API, as they lack some of the logic from git_clone proper.
* Improvements to git_transport extensibilityPhilip Kelley2014-06-262-3/+66
| | | | | git_remote_set_transport now takes a transport factory rather than a transport git_clone_options now allows the caller to specify a remote creation callback
* clone: more explicit local testscmn/clone-localCarlos Martín Nieto2014-05-291-14/+29
| | | | | Assert the exact amount of links we expect. While there, check that a plain git_clone() automatically chooses to link.
* clone: allow for linking in local cloneCarlos Martín Nieto2014-05-281-0/+59
| | | | | | | | If requested, git_clone_local_into() will try to link the object files instead of copying them. This only works on non-Windows (since it doesn't have this) when both are on the same filesystem (which are unix semantics).
* clone: add flag not to linkCarlos Martín Nieto2014-05-281-0/+2
|
* clone: add flags to override whether to perform a local cloneCarlos Martín Nieto2014-05-281-0/+29
|
* remote: write tests for cloning from an empty repoCarlos Martín Nieto2014-04-021-0/+34
| | | | | | | | Cloning from an empty repo must set master's upstream to origin's master, even if neither of them exist. Fetching from a non-empty origin must then mark the master branch for-merge. This currently fails.
* Merge pull request #2028 from libgit2/options-namesVicent Marti2014-03-071-1/+1
|\ | | | | Rename options structures
| * git_checkout_opts -> git_checkout_optionsBen Straub2014-03-061-1/+1
| |
* | Plug a few leaks in the testsCarlos Martín Nieto2014-03-071-0/+2
|/
* Enhance testing of signature parametersBen Straub2014-01-301-4/+10
|
* Augment clone API with reflog parametersBen Straub2014-01-301-0/+44
|
* Add reflog params to set-head callsBen Straub2014-01-301-1/+1
|
* branch: move to git_buf when outputting newly-allocated stringsCarlos Martín Nieto2014-01-271-7/+5
| | | | | Internally we already did everything with git_bufs, so this is just exposing those functions with public names.
* Update clone doc and tests for callback return valRussell Belfer2013-12-111-1/+56
| | | | | | | Clone callbacks can return non-zero values to cancel the clone. This adds some tests to verify that this actually works and updates the documentation to be clearer that this can happen and that the return value will be propagated back by the clone function.
* Rename tests-clar to testsBen Straub2013-11-142-0/+264