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 | -10/+25 |
| | | | | | | 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 extensibility | Philip Kelley | 2014-06-26 | 1 | -26/+4 |
| | | | | | 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: don't free the remote on deletecmn/remote-rename-more | Carlos Martín Nieto | 2014-06-06 | 1 | -1/+1 |
| | | | | This was a bad idea. Don't free except in the free function. | ||||
* | remote: failing test for renaming with a symref | Carlos Martín Nieto | 2014-06-06 | 1 | -0/+48 |
| | |||||
* | remote: return problem refspecs instead of using a callback | Carlos Martín Nieto | 2014-06-06 | 1 | -37/+53 |
| | | | | | | There is no reason why we need to use a callback here. A string array fits better with the usage, as this is not an event and we don't need anything from the user. | ||||
* | remote: failing test for rename | Carlos Martín Nieto | 2014-06-06 | 1 | -0/+30 |
| | | | | | When there is a reference in the target namespace, we should overwrite it. Instead it gets a different name under the current code. | ||||
* | Remote: Set an error when a remote cannot be found. | Arthur Schreiber | 2014-05-30 | 1 | -0/+9 |
| | | | | | | | Inside `git_remote_load`, the calls to `get_optional_config` use `giterr_clear` to unset any errors that are set due to missing config keys. If neither a fetch nor a push url config was found for a remote, we should set an error again. | ||||
* | remote: add api to guess the remote's default branch | Carlos Martín Nieto | 2014-05-21 | 1 | -0/+50 |
| | | | | | If the remote supports the symref protocol extension, then we return that, otherwise we guess with git's rules. | ||||
* | Merge pull request #2354 from libgit2/cmn/clone-into-mirror | Vicent Marti | 2014-05-19 | 1 | -0/+26 |
|\ | | | | | Allow mirror-clone via `git_clone_into()` | ||||
| * | clone: add failing test for a mirror-clone with clone_into | Carlos Martín Nieto | 2014-05-19 | 1 | -0/+26 |
| | | | | | | | | | | Show a failure to perform a mirror-clone from a repository, both local and remote. | ||||
* | | Merge pull request #2313 from libgit2/cmn/remote-delete | Vicent Marti | 2014-05-16 | 1 | -0/+61 |
|\ \ | |/ |/| | Remote deletion | ||||
| * | remote: remove remote-tracking branches on delete | Carlos Martín Nieto | 2014-05-16 | 1 | -4/+8 |
| | | | | | | | | | | When we delete a remote, we also need to go through its fetch refspecs and remove the references they create locally. | ||||
| * | remote: Introduce git_remote_delete() | nulltoken | 2014-04-30 | 1 | -0/+57 |
| | | |||||
* | | netops: unit-test the cert host-name pattern matching | Carlos Martín Nieto | 2014-04-26 | 1 | -0/+13 |
|/ | | | | | This kind of stuff should have unit tests, even if it's just to show what we expect to match successfully. | ||||
* | remote: rename inmemory to anonymous and swap url and fetch order | Carlos Martín Nieto | 2014-04-01 | 3 | -9/+9 |
| | | | | | | | | | | The order in this function is the opposite to what create_with_fetchspec() has, so change this one, as url-then-refspec is what git does. As we need to break compilation and the swap doesn't do that, let's take this opportunity to rename in-memory remotes to anonymous as that's really what sets them apart. | ||||
* | Correct default reflog message for git_remote_fetch | Ben Straub | 2014-02-06 | 1 | -0/+28 |
| | |||||
* | Add reflog parameters to remote apis | Ben Straub | 2014-02-04 | 2 | -8/+63 |
| | | | Also added a test for git_remote_fetch. | ||||
* | Don't strcmp a git_buf, strcmp its char * | Edward Thomson | 2014-01-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2077 from libgit2/cmn/buf-out | Vicent Marti | 2014-01-27 | 1 | -14/+7 |
|\ | | | | | Buff up returning strings | ||||
| * | refspec: move to git_buf for outputting strings | Carlos Martín Nieto | 2014-01-27 | 1 | -14/+7 |
| | | |||||
* | | MSVC doesn't like modern code | Carlos Martín Nieto | 2014-01-27 | 1 | -1/+2 |
|/ | |||||
* | Make sure git_remote_dup copies a remote's refspecs correctly. | Arthur Schreiber | 2014-01-26 | 1 | -0/+2 |
| | |||||
* | Fix a compile warning. | Graham Dennis | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | Add test for pushing to a local file:// URL. | Graham Dennis | 2014-01-18 | 1 | -0/+40 |
| | |||||
* | Add `git_remote_dup`. | Arthur Schreiber | 2014-01-14 | 1 | -0/+21 |
| | |||||
* | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 9 | -0/+1390 |