summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | clone: implement git_clone_intoCarlos Martín Nieto2013-10-021-15/+63
| | | | | | | | | | | | | | | This allows you to set up the repository and remote as you which to have them before performing the clone operation.
* | | remote: move the credentials callback to the structCarlos Martín Nieto2013-10-024-17/+2
| | | | | | | | | | | | | | | 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.
* | | remote: put the _download() callback with the othersCarlos Martín Nieto2013-10-024-16/+7
| |/ |/| | | | | | | | | 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.
* | Add git_transport_register, git_transport_unregisterPhilip Kelley2013-10-011-0/+66
| |
* | Mark git__timer as inline on OSXBen Straub2013-10-011-1/+1
| |
* | Merge pull request #1882 from linquize/config-subsection-fixVicent Martí2013-10-011-26/+15
|\ \ | | | | | | Config subsection name should allow to have ']' and '\\' should allow to escape any characters
| * | Config subsection name should allow to have ']' and '\\' should allow to ↵Linquize2013-10-011-26/+15
| | | | | | | | | | | | escape any characters
* | | Merge pull request #1879 from libgit2/redir-refactorVicent Martí2013-09-304-232/+137
|\ \ \ | | | | | | | | Redir refactor
| * | | Tighten up url-connection utilityBen Straub2013-09-261-8/+2
| | | |
| * | | WHOOPSBen Straub2013-09-261-2/+1
| | | |
| * | | Adjust to new utility signatureBen Straub2013-09-261-3/+2
| | | |
| * | | Deploy gitno_connection_data into transport (winhttp)Ben Straub2013-09-263-79/+32
| | | | | | | | | | | | | | | | ...and have that call manage replaced memory in the output structure.
| * | | Deploy gitno_connection_data into transportBen Straub2013-09-261-73/+16
| | | |
| * | | Refactor URL handling to use library callBen Straub2013-09-261-69/+28
| | | |
| * | | Migrate redirect URL handling to common utilityBen Straub2013-09-253-72/+130
| |/ /
* | | Merge pull request #1412 from jamill/push_progressVicent Martí2013-09-306-6/+169
|\ \ \ | | | | | | | | Initial Implementation of progress reports during push
| * | | Initial Implementation of progress reports during pushJameson Miller2013-09-306-6/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Merge pull request #1881 from libgit2/ignore-submodules-in-stashVicent Martí2013-09-301-2/+6
|\ \ \ \ | | | | | | | | | | Never consider submodules for stashing
| * | | | Never consider submodules for stashingJustin Spahr-Summers2013-09-271-2/+6
| | |/ / | |/| |
* | | | Merge pull request #1878 from libgit2/ntk/fix/warningsVicent Martí2013-09-301-1/+1
|\ \ \ \ | |_|/ / |/| | | Fix x86/x64 size_t related warnings
| * | | Fix warningsnulltoken2013-09-261-1/+1
| |/ /
* | | commit: Trim message leading newlinesnulltoken2013-09-301-1/+1
|/ / | | | | | | Fix libgit2/libgit2sharp#522
* | Why are we disabling redirects?Ben Straub2013-09-251-0/+3
| |
* | Win32: handle http->https redirectsBen Straub2013-09-251-124/+192
| |
* | Merge pull request #1871 from libgit2/cross-protocol-redirects-altVicent Martí2013-09-242-62/+108
|\ \ | | | | | | Alternative fix for cross protocol redirects
| * | Prevent HTTPS to HTTP redirectRussell Belfer2013-09-241-1/+6
| | |
| * | Disconnect path string to preserve after redirectRussell Belfer2013-09-242-79/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Properly parse urls that include protocol://Ben Straub2013-09-241-1/+4
| | |
| * | Allow redirects to use same hostBen Straub2013-09-241-2/+15
| | |
* | | Ignore files that disappear while iteratingEdward Thomson2013-09-241-1/+9
|/ / | | | | | | | | | | On occasion, files can disappear while we're iterating the filesystem, between calls to readdir and stat. Let's pretend those didn't exist in the first place.
* | Merge pull request #1865 from arrbee/various-cleanupsVicent Martí2013-09-246-14/+27
|\ \ | | | | | | Various warning cleanup and minor fixes
| * | Fix incorrect return code in crlf filterRussell Belfer2013-09-241-2/+2
| | | | | | | | | | | | | | | | | | The git_buf_text_gather_stats call returns a boolean indicating if the file looks like binary data. That shouldn't be an error; it should be used to skip CRLF processing though.
| * | Clean up unnecessary git_buf_printf callsRussell Belfer2013-09-232-4/+7
| | | | | | | | | | | | | | | | | | This replaces some git_buf_printf calls with simple calls to git_buf_put instead. Also, it fixes a missing va_end inside the git_buf_vprintf implementation.
| * | Fix warnings on Windows 64-bit buildRussell Belfer2013-09-231-3/+11
| | |
| * | Clean up newly introduced warningsRussell Belfer2013-09-232-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attempt to "clean up warnings" seems to have introduced some new warnings on compliant compilers. This fixes those in a way that I suspect will also be okay for the non-compliant compilers. Also this fixes what appears to be an extra semicolon in the repo initialization template dir handling (and as part of that fix, handles the case where an error occurs correctly).
* | | Merge pull request #1864 from libgit2/minimize-regex-usageVicent Martí2013-09-242-58/+29
|\ \ \ | | | | | | | | Minimize regex usage
| * | | Remove regex usage from places that don't need itRussell Belfer2013-09-232-58/+29
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In revwalk, we are doing a very simple check to see if a string contains wildcard characters, so a full regular expression match is not needed. In remote listing, now that we have git_config_foreach_match with full regular expression matching, we can take advantage of that and eliminate the regex here, replacing it with much simpler string manipulation.
* | | 'del' instead of 'delete' for the poor C++ usersEdward Thomson2013-09-242-2/+2
|/ /
* | Merge pull request #1863 from linquize/typoVicent Martí2013-09-221-1/+1
|\ \ | | | | | | Fix typo in documentation
| * | Fix typo in documentationLinquize2013-09-221-1/+1
| | |
* | | merge: reverse array and length parameter orderCarlos Martín Nieto2013-09-221-1/+1
|/ / | | | | | | Make it pair up with the one for commits. This fixes #1691.
* | Merge pull request #1840 from linquize/warningVicent Martí2013-09-219-17/+17
|\ \ | | | | | | Fix warning
| * | Fix warningLinquize2013-09-199-17/+17
| | |
* | | Merge pull request #1859 from linquize/init.templatedirVicent Martí2013-09-201-18/+13
|\ \ \ | | | | | | | | Make init.templatedir work
| * | | Check error value from git_futils_find_template_dirLinquize2013-09-201-2/+2
| | | |
| * | | Make init.templatedir workLinquize2013-09-191-17/+12
| | | |
* | | | msvc: No void* arithmetic on WindowsVicent Marti2013-09-181-1/+1
| | | |
* | | | Merge pull request #1860 from libgit2/cmn/indexer-hashVicent Martí2013-09-171-19/+71
|\ \ \ \ | |/ / / |/| | | indexer: check the packfile trailer
| * | | indexer: don't reiterate the class in the messageCarlos Martín Nieto2013-09-181-3/+3
| | | |
| * | | indexer: check the packfile trailer for correctnessCarlos Martín Nieto2013-09-181-17/+69
| | | | | | | | | | | | | | | | | | | | The packfile trailer gets sent over and we should check whether it's correct as part of our sanity checks of the packfile.