Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-15Rename tests-clar to testsBen Straub
2013-11-11Merge pull request #1956 from libgit2/cmn/fetch-default-headVicent Martí
Remote revamp (director's cut)
2013-11-11tests: update push testsCarlos Martín Nieto
These tests were forgotten when modifying git_remote_ls().
2013-11-11remote: make _ls return the list directlyCarlos Martín Nieto
The callback-based method of listing remote references dates back to the beginning of the network code's lifetime, when we didn't know any better. We need to keep the list around for update_tips() after disconnect() so let's make use of this to simply give the user a pointer to the array so they can write straightforward code instead of having to go through a callback.
2013-11-05Change the git_branch_iterator_new and git_branch_next definitions to use ↵Arthur Schreiber
git_branch_t.
2013-11-05branch: move from foreach to an iteratorCarlos Martín Nieto
Create a git_branch_iterator type which is equivalent to the foreach but lets us write loops instead of callbacks. Since the introduction of git_reference_shorthand(), the added value of passing the name is reduced.
2013-10-28Merge pull request #1912 from ethomson/push_err_messagesVicent Martí
Test for failure, but don't test the error message
2013-10-25Test for failure, but don't test the error messageEdward Thomson
2013-10-23Rename the ssh credentialsCarlos Martín Nieto
The names from libssh2 are somewhat obtuse for us. We can simplify the usual key/passphrase credential's name, as well as make clearer what the custom signature function is.
2013-10-21Allowed credential types should be a bitfieldEdward Thomson
2013-10-03Clean up annoying warningsRussell Belfer
The indexer code was generating warnings on Windows 64-bit. I looked closely at the logic and was able to simplify it a bit. Also this fixes some other Windows and Linux warnings.
2013-10-03Style tweaks and changes for code review feedbackJameson Miller
2013-10-02Fix broken online push testsJameson Miller
2013-10-02Support cancellation in push operationJameson Miller
This commit adds cancellation for the push operation. This work consists of: 1) Support cancellation during push operation - During object counting phase - During network transfer phase - Propagate GIT_EUSER error code out to caller 2) Improve cancellation support during fetch - Handle cancellation request during network transfer phase - Clear error string when cancelled during indexing 3) Fix error handling in git_smart__download_pack Cancellation during push is still only handled in the pack building and network transfer stages of push (and not during packbuilding).
2013-10-02remote: move the credentials callback to the structCarlos Martín Nieto
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.
2013-10-02remote: put the _download() callback with the othersCarlos Martín Nieto
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.
2013-09-30Initial Implementation of progress reports during pushJameson Miller
This adds the basics of progress reporting during push. While progress for all aspects of a push operation are not reported with this change, it lays the foundation to add these later. Push progress reporting can be improved in the future - and consumers of the API should just get more accurate information at that point. The main areas where this is lacking are: 1) packbuilding progress: does not report progress during deltafication, as this involves coordinating progress from multiple threads. 2) network progress: reports progress as objects and bytes are going to be written to the subtransport (instead of as client gets confirmation that they have been received by the server) and leaves out some of the bytes that are transfered as part of the push protocol. Basically, this reports the pack bytes that are written to the subtransport. It does not report the bytes sent on the wire that are received by the server. This should be a good estimate of progress (and an improvement over no progress).
2013-08-17Merge pull request #1778 from libgit2/push_tag_to_tag_testVicent Martí
push: handle tag chains correctly
2013-08-14Test SSH in travisCarlos Martín Nieto
Set up the ssh credentials so we are able to talk to localhost and issue git commands. Move to use a script, as the command list is getting somewhat long. While here, delay installing valgrind until we need it, as it and its dependencies are by far the largest downloads and this allows us to start compiling (and failing) faster and we only incur this cost when the test suite runs successfully.
2013-07-13test that suggests tags arent fully peeled during pushEdward Thomson
2013-04-20remote: handle multiple refspecsCarlos Martín Nieto
A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function.
2013-02-11Add git_push_options, to set packbuilder parallelismPhilip Kelley
2013-01-31Add user-from-url param to auth callbackBen Straub
2013-01-29Fix 2 bugs in online::push tests.Congyi Wu
- Fix stack corruption introduced in 9bccf33c due to passing pointer to local variable _cred_acquire_called. - Fix strcmp in do_verify_push_status when expected or actual push_status is NULL
2013-01-24Leak cleanup in push testsPhilip Kelley
2013-01-22Update remote tips on pushJameson Miller
2013-01-09push: properly handle tagsMichael Schubert
Currently, push doesn't really handle tags when queueing objects. Fix it.
2013-01-09tests-clar/network: remove unused CREATE_BLOBMichael Schubert
2013-01-09Relax refspecs accepted by pushJameson Miller
2013-01-04Fix bug in gen_pktline() for deletes of missing remote refsCongyi Wu
* gen_pktline() in smart_protocol.c was skipping refspecs that deleted refs that were not advertised by the server. The new behavior is to send a delete command with an old-id of zero, which matches the behavior of the official git client. * Update test_network_push__delete() in reaction to above fix. * Obviate messy logic that handles missing push_spec rrefs by canonicalizing push_spec. After calculate_work(), loid, roid, and rref, are filled in with exactly what is sent to the server
2013-01-03Merge branch 'development' into clar2Vicent Marti
Conflicts: tests-clar/clone/nonetwork.c tests-clar/online/clone.c tests-clar/online/fetchhead.c
2013-01-03Disable Network suite by defaultVicent Marti
2013-01-02Cleanup Clar to make it SIMPLERVicent Marti