summaryrefslogtreecommitdiff
path: root/tests/online/push.c
Commit message (Collapse)AuthorAgeFilesLines
* remote: use configured push refspecs if none are givencmn/remote-pushCarlos Martín Nieto2014-11-091-4/+38
| | | | | If the user does not pass any refspecs to push, try to use those configured via the configuration or via add_push().
* push: move main test function to git_remote_push()Carlos Martín Nieto2014-11-091-59/+52
| | | | | | | We have the step-by-step method in the initialization function as we want to remove references based on the list of references which are already there, and we can use the convenience function for testing the main push.
* 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.
* MSVC does not support zero size arrayLinquize2014-08-311-2/+1
|
* Merge remote-tracking branch 'upstream/master' into cmn/ssh-retryCarlos Martín Nieto2014-08-271-0/+11
|\
| * Free references during push validationEdward Thomson2014-08-151-0/+2
| |
| * Remove the refs/notes/commits that we push in testEdward Thomson2014-08-141-0/+9
| | | | | | | | | | | | | | The online::push::notes test pushes a note but leaves it hanging around for other tests to stumble across when they're validating that they're seeing the refs they expect to see. Clean it up on exit.
* | ssh: adjust clone and push test credentials to the split user+pass methodCarlos Martín Nieto2014-06-261-0/+9
|/ | | | | | | For urls where we do not specify a username, we must handle the case where the ssh transport asks us for the username. Test also that switching username fails.
* Verify update_tips callbacks in push test casesJacques Germishuys2014-04-211-35/+83
|
* Clar: skip testsvmg/clar-skip-testVicent Marti2014-04-021-31/+32
|
* Avoid crash when skipping remote testBen Straub2014-02-051-2/+4
|
* Add reflog parameters to remote apisBen Straub2014-02-041-1/+1
| | | Also added a test for git_remote_fetch.
* Add reflog parameters to git_push_update_tipsBen Straub2014-02-041-1/+15
|
* refspec: move to git_buf for outputting stringsCarlos Martín Nieto2014-01-271-1/+1
|
* More tests of canceling from callbacksRussell Belfer2013-12-121-22/+41
| | | | | This covers diff print, push, and ref foreach. This also has a fix for a small memory leak in the push tests.
* Introduce git_cred_default for NTLM/SPNEGO authEdward Thomson2013-11-181-1/+15
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+770