summaryrefslogtreecommitdiff
path: root/tests/online/fetchhead.c
Commit message (Collapse)AuthorAgeFilesLines
* remote: move the tagopt setting to the fetch optionsCarlos Martín Nieto2015-05-131-2/+3
| | | | | This is another option which we should not be keeping in the remote, but is specific to each particular operation.
* Remove the callbacks struct from the remoteCarlos Martín Nieto2015-05-131-6/+3
| | | | | | | | | | | | | | Having the setting be different from calling its actions was not a great idea and made for the sake of the wrong convenience. Instead of that, accept either fetch options, push options or the callbacks when dealing with the remote. The fetch options are currently only the callbacks, but more options will be moved from setters and getters on the remote to the options. This does mean passing the same struct along the different functions but the typical use-case will only call git_remote_fetch() or git_remote_push() and so won't notice much difference.
* Remove the signature from ref-modifying functionsCarlos Martín Nieto2015-03-031-1/+1
| | | | | | | | | | The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature.
* remote: rename _load() to _lookup()cmn/remote-lookupCarlos Martín Nieto2014-11-081-1/+1
| | | | This brings it in line with the rest of the lookup functions.
* remote: use active refspec override in the testsCarlos Martín Nieto2014-09-301-3/+5
| | | | | This lets us test this bit as well as getting closer to what they were trying to do.
* remote: allow overriding the refspecs for download and fetchCarlos Martín Nieto2014-09-301-1/+1
| | | | | | | With opportunistic ref updates, git has introduced the concept of having base refspecs *and* refspecs that are active for a particular fetch. Let's start by letting the user override the refspecs for download.
* When auto follow tags, FETCH_HEAD should list only newly followed tagsLinquize2014-09-061-0/+12
|
* Add reflog parameters to remote apisBen Straub2014-02-041-1/+1
| | | Also added a test for git_remote_fetch.
* Rename tests-clar to testsBen Straub2013-11-141-0/+91