Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clone: remote git_clone_into{,_local} from the public APIcmn/clone-custom-repo | Carlos Martín Nieto | 2014-07-02 | 1 | -53/+0 |
| | | | | | | 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. | ||||
* | clone: add a callback for repository creation | Carlos Martín Nieto | 2014-07-02 | 1 | -3/+36 |
| | | | | | | Analogously to the remote creation callback, provide a way for the user of git_clone() to create the repository with whichever options they desire via callback. | ||||
* | Improvements to git_transport extensibility | Philip Kelley | 2014-06-26 | 1 | -13/+41 |
| | | | | | 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 | ||||
* | remote: update documentation | Carlos Martín Nieto | 2014-06-11 | 1 | -18/+60 |
| | | | | | Add docs for git_clone_local_t and move the docs for the git_clone_options to each field. | ||||
* | clone: allow for linking in local clone | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+4 |
| | | | | | | | | 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 link | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+1 |
| | |||||
* | clone: add flags to override whether to perform a local clone | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+7 |
| | |||||
* | clone: perform a "local clone" when given a local path | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+25 |
| | | | | | | | | When git is given such a path, it will perform a "local clone", bypassing the git-aware protocol and simply copying over all objects that exist in the source. Copy this behaviour when given a local path. | ||||
* | Make init_options fns use unsigned ints and macro | Russell Belfer | 2014-05-02 | 1 | -10/+9 |
| | | | | | Use an unsigned int for the version and add a helper macro so the code is simplified (and so the error message is a common string). | ||||
* | git_checkout_opts -> git_checkout_options | Ben Straub | 2014-03-06 | 1 | -3/+3 |
| | |||||
* | Added function-based initializers for every options struct. | Matthew Bowen | 2014-03-05 | 1 | -0/+13 |
| | | | | The basic structure of each function is courtesy of arrbee. | ||||
* | Augment clone API with reflog parameters | Ben Straub | 2014-01-30 | 1 | -1/+6 |
| | |||||
* | Update clone doc and tests for callback return val | Russell Belfer | 2013-12-11 | 1 | -24/+33 |
| | | | | | | | 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. | ||||
* | clone: put the callbacks struct directly in the clone options | Carlos Martín Nieto | 2013-10-02 | 1 | -2/+2 |
| | | | | There's no need for this to be a pointer to somewhere else. | ||||
* | clone: mention clone_into in the clone documentation | Carlos Martín Nieto | 2013-10-02 | 1 | -2/+5 |
| | | | | Make the difference more explicit. | ||||
* | clone: re-allow using a custom remote name | Carlos Martín Nieto | 2013-10-02 | 1 | -17/+5 |
| | | | | | This is a small thing that by itself doesn't quite justify making the user use clone_into. | ||||
* | clone: const-ify checkout options | Carlos Martín Nieto | 2013-10-02 | 1 | -1/+1 |
| | | | | | The removal of many options which lead to the direct usage of the user's checkout options means we should make sure they remain const. | ||||
* | clone: re-add a way to ignore certificate errors | Carlos Martín Nieto | 2013-10-02 | 1 | -0/+1 |
| | | | | | This used to be done via transport flags, which was removed in a previous commit. | ||||
* | clone: remove more options from basic clone | Carlos Martín Nieto | 2013-10-02 | 1 | -7/+0 |
| | | | | | | The basic clone function is there to make it easy to create a "normal" clone. Remove a bunch of options that are about changing the remote's configuration. | ||||
* | clone: remove the autotag option | Carlos Martín Nieto | 2013-10-02 | 1 | -3/+0 |
| | | | | | Downloading all tags is part of what makes it a clone instead of simply a fetch. | ||||
* | clone: implement git_clone_into | Carlos Martín Nieto | 2013-10-02 | 1 | -0/+16 |
| | | | | | 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 struct | Carlos Martín Nieto | 2013-10-02 | 1 | -5/+0 |
| | | | | | 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 others | Carlos Martín Nieto | 2013-10-02 | 1 | -2/+0 |
| | | | | | | 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. | ||||
* | git_clone supports optional init_options | Linquize | 2013-09-16 | 1 | -0/+1 |
| | |||||
* | Added support for setting transport flags (No check SSL cert) to git_clone call. | Nathan Daly | 2013-05-31 | 1 | -0/+3 |
| | |||||
* | clone: fix param comment | Carlos Martín Nieto | 2013-03-19 | 1 | -1/+1 |
| | |||||
* | Clone: fetch all tags | Ben Straub | 2013-02-06 | 1 | -1/+1 |
| | |||||
* | Default git_clone_options' checkout strategy to GIT_CHECKOUT_SAFE_CREATE | Sascha Cunz | 2013-01-12 | 1 | -1/+1 |
| | |||||
* | Implement analog for 'git checkout --branch xxx ...' | Sascha Cunz | 2013-01-11 | 1 | -0/+3 |
| | |||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | Include checkout options inline | Ben Straub | 2013-01-02 | 1 | -4/+4 |
| | |||||
* | Add more clone options. Push test suite segfaults. | Ben Straub | 2012-12-19 | 1 | -3/+32 |
| | |||||
* | Move non-options back out of options struct | Ben Straub | 2012-12-14 | 1 | -8/+10 |
| | |||||
* | Deploy git_clone_options; remove git_clone_bare | Ben Straub | 2012-12-14 | 1 | -38/+8 |
| | |||||
* | Introduce git_clone_options | Ben Straub | 2012-12-14 | 1 | -0/+33 |
| | |||||
* | Convert clone to use dangling remotes | Ben Straub | 2012-12-12 | 1 | -4/+4 |
| | |||||
* | More external API cleanup | Vicent Marti | 2012-11-27 | 1 | -2/+2 |
| | | | | | | Conflicts: src/branch.c tests-clar/refs/branches/create.c | ||||
* | Network progress: rename things | Ben Straub | 2012-10-24 | 1 | -2/+2 |
| | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named. | ||||
* | Update doc strings, warn about callback perf | Ben Straub | 2012-10-23 | 1 | -3/+8 |
| | |||||
* | Clone: in-line callbacks for progress | Ben Straub | 2012-10-19 | 1 | -2/+4 |
| | | | | Also implemented in the git2 example. | ||||
* | Remove checkout_stats from git_clone | Ben Straub | 2012-10-19 | 1 | -1/+0 |
| | |||||
* | Clone: fix indentation | Ben Straub | 2012-10-19 | 1 | -10/+12 |
| | |||||
* | clone: Explicit support of no-checkout option | nulltoken | 2012-10-15 | 1 | -3/+6 |
| | |||||
* | Add documentation for clone methods. | Ben Straub | 2012-07-31 | 1 | -2/+3 |
| | |||||
* | Add checkout.h to git2.h. | Ben Straub | 2012-07-31 | 1 | -2/+2 |
| | | | Also correcting some documentation strings. | ||||
* | Restructure for better checkout options | Ben Straub | 2012-07-26 | 1 | -4/+14 |
| | | | | | | * Removed the #define for defaults * Promoted progress structure to top-level API call argument | ||||
* | Add progress reporting to clone. | Ben Straub | 2012-06-21 | 1 | -3/+6 |
| | |||||
* | Add git_clone and git_clone_bare. | Ben Straub | 2012-06-21 | 1 | -0/+45 |
So far they only create a repo, setup the "origin" remote, and fetch. The API probably needs work as well; there's no way to get progress information at this point. Also uncovered a shortcoming; git_remote_download doesn't fetch over local transport. |