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-20ssh: add support for ssh-agent authenticationAlessandro Ghedini
2013-11-18Introduce git_cred_default for NTLM/SPNEGO authEdward Thomson
2013-11-18Propagate auth error codes as GIT_EUSER in winhttpEdward Thomson
2013-11-11Merge pull request #1956 from libgit2/cmn/fetch-default-headVicent Martí
Remote revamp (director's cut)
2013-11-11remote: update head list on pushCarlos Martín Nieto
A previous commit forgot to update the head list after push as well, leading to wrong output of 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-10Merge pull request #1936 from libgit2/better-url-parsingVicent Martí
Streamline url-parsing logic.
2013-11-06don't double free pktEdward Thomson
2013-11-05Fix ssh.c compileBen Straub
2013-11-04Use http_parser_parse_url to parse urlsBen Straub
2013-11-02remote: store dwimed refspecs separatelyCarlos Martín Nieto
This allows us to add e.g. "HEAD" as a refspec when none are given without overwriting the user's data.
2013-11-02remote: give up after 256 failures to find a common objectCarlos Martín Nieto
This avoids sending our whole history bit by bit to the remote in cases where there is no common history, just to give up in the end. The number comes from the canonical implementation.
2013-11-01Merge pull request #1918 from libgit2/cmn/indexer-namingVicent Martí
indexer: remove the stream infix
2013-11-01Prevent another segfault from bad URLBen Straub
2013-10-31Initialize variablesBen Straub
2013-10-30protocol: basic support for multi_ack_detailedCarlos Martín Nieto
This tells the server that we speak it, but we don't make use of its extra information to determine if there's a better place to stop negotiating. In a somewhat-related change, reorder the capabilities so we ask for them in the same order as git does. Also take this opportunity to factor out a fairly-indented portion of the negotiation logic.
2013-10-30indexer: remove the stream infixCarlos Martín Nieto
It was there to keep it apart from the one which read in from a file on disk. This other indexer does not exist anymore, so there is no need for anything other than git_indexer to refer to it. While here, rename _add() function to _append() and _finalize() to _commit(). The former change is cosmetic, while the latter avoids talking about "finalizing", which OO languages use to mean something completely different.
2013-10-28Merge pull request #1891 from libgit2/cmn/fix-thin-packsVicent Martí
Add support for thin packs
2013-10-28Merge pull request #1904 from libgit2/cmn/ssh-namingVicent Martí
Rename the ssh credentials
2013-10-25Use two calls to set two headersEdward Thomson
2013-10-23transport: let the progress output return an errorCarlos Martín Nieto
There are any number of issues that can come up in the progress callback, and we should let the user cancel at that point as well.
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-09Combine WinHTTP API callsBen Straub
2013-10-09WinHTTP: set Accept header for POSTsBen Straub
2013-10-04net: advertise our support for fixing thin packsCarlos Martín Nieto
2013-10-03Style tweaks and changes for code review feedbackJameson 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-01Merge pull request #1879 from libgit2/redir-refactorVicent Martí
Redir refactor
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-09-27WHOOPSBen Straub
2013-09-27Adjust to new utility signatureBen Straub
2013-09-27Deploy gitno_connection_data into transport (winhttp)Ben Straub
...and have that call manage replaced memory in the output structure.
2013-09-27Deploy gitno_connection_data into transportBen Straub
2013-09-26Refactor URL handling to use library callBen Straub
2013-09-26Migrate redirect URL handling to common utilityBen Straub
2013-09-26Why are we disabling redirects?Ben Straub
2013-09-25Win32: handle http->https redirectsBen Straub
2013-09-25Prevent HTTPS to HTTP redirectRussell Belfer
2013-09-25Disconnect path string to preserve after redirectRussell Belfer
The subtransport path was relying on pointing to data owned by the remote which meant that after a redirect, the updated path was getting lost for future requests. This updates the http transport to strdup the path and maintain its own lifetime. This also pulls responsibility for parsing the URL back into the http transport and isolates the functions that parse and free that connection data so that they can be reused between the initial parsing and the redirect parsing.
2013-09-24Allow redirects to use same hostBen Straub
2013-09-21Merge pull request #1840 from linquize/warningVicent Martí
Fix warning
2013-09-19Fix warningLinquize
2013-09-17Whitespace.Etienne Samson
2013-09-17Add a wrapper to provide the libssh2 error messageEtienne Samson
2013-09-09Test for repo before removing leading colonIsaac Kearse
2013-09-08Trim leading colon from ssh repository pathIsaac Kearse
2013-09-05Provide better errors for push on non-bare local remotesBen Straub
2013-08-28Improve win32 version check, no ipv6 tests on XPEdward Thomson