summaryrefslogtreecommitdiff
path: root/tests-clar/online/clone.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-256/+0
|
* Add Assembla unit testBen Straub2013-10-081-0/+6
|
* clone: put the callbacks struct directly in the clone optionsCarlos Martín Nieto2013-10-021-23/+11
| | | | There's no need for this to be a pointer to somewhere else.
* clone: implement git_clone_intoCarlos Martín Nieto2013-10-021-0/+39
| | | | | This allows you to set up the repository and remote as you which to have them before performing the clone operation.
* remote: move the credentials callback to the structCarlos Martín Nieto2013-10-021-4/+9
| | | | | Move this one as well, letting us have a single way of setting the callbacks for the remote, and removing fields from the clone options.
* remote: put the _download() callback with the othersCarlos Martín Nieto2013-10-021-3/+17
| | | | | | 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.
* No such thing as an orphan branchCarlos Martín Nieto2013-09-171-1/+1
| | | | | | | | | | | Unfortunately git-core uses the term "unborn branch" and "orphan branch" interchangeably. However, "orphan" is only really there for the checkout command, which has the `--orphan` option so it doesn't actually create the branch. Branches never have parents, so the distinction of a branch with no parents is odd to begin with. Crucially, the error messages deal with unborn branches, so let's use that.
* Reorganize diff and add basic diff driverRussell Belfer2013-06-101-1/+2
| | | | | | | | | | | | | | | | | | 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.
* Do not write tagopt configuration option on clone by defaultJameson Miller2013-05-041-0/+3
|
* Allow all non-zero returns to cancel transfersBen Straub2013-02-051-1/+1
|
* Allow progress callback to cancel fetchBen Straub2013-02-051-1/+17
| | | | | This works by having the indexer watch the return code of the callback, so will only take effect on object boundaries.
* HTTP: use creds in url if availableBen Straub2013-01-311-0/+9
|
* Enhance url parsing to include passwordsBen Straub2013-01-311-0/+5
|
* Skip "user@" when finding hostname in urlBen Straub2013-01-301-0/+17
|
* Move credential helpers to their own (optional) headerBen Straub2013-01-091-2/+3
|
* Expose stock user/pass credential utilityBen Straub2013-01-091-25/+4
|
* Clone should use GIT_CHECKOUT_SAFE_CREATERussell Belfer2013-01-041-1/+1
| | | | | | For clone to work as expected, it should be using a SAFE_CREATE checkout (i.e. create files that are missing, even if the target tree matches the current HEAD).
* Merge branch 'development' into clar2Vicent Marti2013-01-031-50/+71
| | | | | | | Conflicts: tests-clar/clone/nonetwork.c tests-clar/online/clone.c tests-clar/online/fetchhead.c
* Disable Network suite by defaultVicent Marti2013-01-031-8/+8
|
* Cleanup Clar to make it SIMPLERVicent Marti2013-01-021-0/+152