summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove CI support for mingw32cmn/remove-mingw32Carlos Martín Nieto2016-03-144-25/+1
| | | | | The tests have never run successfully and we do have successful builds of mingw-w64, so remove these CI builds which do not add value.
* Merge pull request #3668 from libgit2/cmn/mwindow-try-harderEdward Thomson2016-03-091-2/+12
|\ | | | | mwindow: free unused windows if we fail to mmap
| * mwindow: free unused windows if we fail to mmapcmn/mwindow-try-harderCarlos Martín Nieto2016-03-091-2/+12
|/ | | | | | The first time may be due to memory fragmentation or just bad luck on a 32-bit system. When we hit the mmap error for the first time, free up the unused windows and try again.
* Merge pull request #3656 from ethomson/exists_prefixesVicent Marti2016-03-088-37/+297
|\ | | | | Introduce `git_odb_expand_ids`
| * git_odb_expand_ids: accept git_odb_expand_id arrayEdward Thomson2016-03-083-92/+89
| | | | | | | | Take (and write to) an array of a struct, `git_odb_expand_id`.
| * git_odb_expand_ids: rename func, return the typeEdward Thomson2016-03-083-32/+49
| |
| * git_odb_exists_many_prefixes: query odb for multiple short idsEdward Thomson2016-03-074-13/+249
| | | | | | | | | | Query the object database for multiple objects at a time, given their object ID (which may be abbreviated) and optional type.
| * odb: improved not found error messagesEdward Thomson2016-03-075-24/+34
| | | | | | | | | | When looking up an abbreviated oid, show the actual (abbreviated) oid the caller passed instead of a full (but ambiguously truncated) oid.
* | Merge pull request #3555 from cbargren/ssh-git-protocolsEdward Thomson2016-03-084-19/+49
|\ \ | | | | | | Support for ssh+git and git+ssh protocols
| * | TabsChris Bargren2015-12-281-2/+2
| | |
| * | Adding test cases that actually test the functionality of the new transportChris Bargren2015-12-281-0/+6
| | | | | | | | | ssh, ssh+git and git+ssh should all successfully build an SSH transport
| * | Removing #define for SSH_PREFIX_COUNT and using ARRAY_SIZE insteadChris Bargren2015-12-281-6/+5
| | | | | | | | | Also moving var declarations to top of blocks to support bad old compilers
| * | Updating change to http_parser to reflect PR for nodejs/http-parserChris Bargren2015-12-281-2/+5
| | | | | | | | | The parser now also supports digits, '-' and '.'. https://github.com/nodejs/http-parser/pull/276
| * | Adding spec coverage for ssh+git and git+ssh protocolsChris Bargren2015-12-221-0/+4
| | |
| * | Handle git+ssh:// and ssh+git:// protocols supportChris Bargren2015-12-222-17/+35
| | |
| * | Updating http parser to accept a `+` in the schemaChris Bargren2015-12-221-1/+1
| | |
* | | Merge pull request #3652 from libgit2/cmn/commit-to-memoryEdward Thomson2016-03-084-47/+216
|\ \ \ | | | | | | | | commit: split creating the commit and writing it out
| * | | commit: split creating the commit and writing it outcmn/commit-to-memoryCarlos Martín Nieto2016-03-084-47/+216
| | |/ | |/| | | | | | | | | | | | | Sometimes you want to create a commit but not write it out to the objectdb immediately. For these cases, provide a new function to retrieve the buffer instead of having to go through the db.
* | | Merge pull request #3655 from ethomson/nanosecond_defaultsCarlos Martín Nieto2016-03-084-31/+66
|\ \ \ | | | | | | | | Enable nanosecond resolution by default
| * | | index::racy: force racy entryEdward Thomson2016-03-081-19/+12
| | | | | | | | | | | | | | | | | | | | Instead of hoping that we can get a racy entry by going real fast and praying real hard, just create a racy entry.
| * | | index::nsec: don't expect shit filesystems to not suckEdward Thomson2016-03-071-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | If the underlying filesystem doesn't support better than one second resolution, then don't expect that turning on `GIT_USE_NSEC` does anything magical to change that.
| * | | merge::workdir::dirty: update to use `st_ctime_nsec`Edward Thomson2016-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | Update unit test to use newfangled `st_ctime_nsec`, which provides indirection to the platform-correct name.
| * | | Enable nanosecond resolution by defaultEdward Thomson2016-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | Nanosecond resolution is now the default in git itself. Enable this as our default as well.
* | | | Merge pull request #3658 from patrickmckenna/update-pro-git-linkEdward Thomson2016-03-081-3/+2
|\ \ \ \ | |_|/ / |/| | | Update link to Pro Git's Git internals chapter
| * | | Update link to Pro Git's Git internals chapter.Patrick McKenna2016-03-071-3/+2
|/ / /
* | | Merge pull request #3653 from libgit2/cmn/treebuilder-submodulev0.24.0Edward Thomson2016-03-042-1/+14
|\ \ \ | | | | | | | | treebuilder: don't try to verify submodules exist in the odb
| * | | treebuilder: don't try to verify submodules exist in the odbcmn/treebuilder-submoduleCarlos Martín Nieto2016-03-042-1/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | Submodules don't exist in the objectdb and the code is making us try to look for a blob with its commit id, which is obviously not going to work. Skip the test if the user wants to insert a submodule.
* | | Merge pull request #3651 from libgit2/cmn/init-libssh2Edward Thomson2016-03-033-1/+31
|\ \ \ | | | | | | | | ssh: initialize libssh2
| * | | ssh: initialize libssh2cmn/init-libssh2Carlos Martín Nieto2016-03-033-1/+31
|/ / / | | | | | | | | | | | | | | | | | | We should have been doing this, but it initializes itself upon first use, which works as long as nobody's doing concurrent network operations. Initialize it on our init to make sure it's not getting initialized concurrently.
* | | Merge pull request #3639 from srajko/threading-openssl-libssh2Carlos Martín Nieto2016-03-031-5/+11
|\ \ \ | |/ / |/| | Expand OpenSSL and libssh2 thread safety documentation
| * | Expand OpenSSL and libssh2 thread safety documentationStjepan Rajko2016-02-261-5/+11
| | |
* | | tests: take the version from our defineCarlos Martín Nieto2016-03-031-1/+1
| | |
* | | Bump version to 0.24.0Carlos Martín Nieto2016-03-031-3/+3
| | |
* | | CHANGELOG: prepre tamplate for releaseCarlos Martín Nieto2016-03-031-1/+14
| | |
* | | CHANGELOG: add note about WinHTTP cred handlingCarlos Martín Nieto2016-03-031-0/+3
| | |
* | | Merge pull request #3648 from libgit2/cmn/auth-retryCarlos Martín Nieto2016-03-034-4/+17
|\ \ \ | | | | | | | | test: make sure we retry the auth callback on all platforms
| * | | tests: create a ctest target for cred_callbackcmn/auth-retryCarlos Martín Nieto2016-03-033-4/+8
| | | |
| * | | winhttp: retry authenticationCarlos Martín Nieto2016-03-031-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | If the caller has provided bad authentication, give them another apportunity to get it right until they give up. This brings WinHTTP in line with the other transports.
| * | | test: make sure we retry the auth callback on all platformsCarlos Martín Nieto2016-03-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were missing this test on Windows, which meant we didn't notice that we never fixed the single authentication attempt it tries, nor its wrong return code. Enable this for the unix platforms as well over HTTP. We previously were doing it locally but disabled it on OS X due to issues with its sshd not accepting password authentication.
* | | | Merge pull request #3646 from pks-t/pks/xdiff-fix-from-upstreamCarlos Martín Nieto2016-03-031-2/+5
|\ \ \ \ | |/ / / |/| | | xdiff: fix memleak on error case
| * | | xdiff: fix memleak on error casePatrick Steinhardt2016-03-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 3d1abc5afce fixes a memory leak in the xdiff code. In the process of upstreaming the fix it was pointed out by Johannes Schindelin that there is another memory leak present (see [1]). Fix the second memory leak by applying the upstream fix to our code base. [1]: http://thread.gmane.org/gmane.comp.version-control.git/287034
* | | | tests: plug a leakCarlos Martín Nieto2016-03-031-0/+1
| | | |
* | | | Merge pull request #3633 from ethomson/safe_creationEdward Thomson2016-03-0124-75/+468
|\ \ \ \ | |/ / / |/| | | Stricter object dependency checking during creation
| * | | turn on strict object validation by defaultEdward Thomson2016-02-285-29/+34
| | | |
| * | | tests: use legitimate object idsEdward Thomson2016-02-2812-44/+57
| | | | | | | | | | | | | | | | | | | | Use legitimate (existing) object IDs in tests so that we have the ability to turn on strict object validation when running tests.
| * | | refs: honor strict object creationEdward Thomson2016-02-282-9/+25
| | | |
| * | | git_object__is_valid: use `odb_read_header`Edward Thomson2016-02-282-15/+28
| | | | | | | | | | | | | | | | | | | | This allows lighter weight validation in `git_object__is_valid` that does not require reading the entire object.
| * | | git_index_add: validate objects in index entries (optionally)Edward Thomson2016-02-283-6/+120
| | | | | | | | | | | | | | | | | | | | When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the index entries given to `git_index_add`.
| * | | treebuilder: validate tree entries (optionally)Edward Thomson2016-02-282-0/+70
| | | | | | | | | | | | | | | | | | | | When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the tree and parent ids given to treebuilder insertion.
| * | | git_commit: validate tree and parent idsEdward Thomson2016-02-282-16/+143
| | | | | | | | | | | | | | | | | | | | When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the tree and parent ids given to commit creation functions.