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
2016-03-08Merge commit 'ab8e88a96b5b9e1a59a6f8742fe0136b13158717' into xs-6.0-v2xs-6.0-v2Marius Ungureanu
2016-03-08Merge pull request #3555 from cbargren/ssh-git-protocolsEdward Thomson
Support for ssh+git and git+ssh protocols
2016-03-08Merge pull request #3652 from libgit2/cmn/commit-to-memoryEdward Thomson
commit: split creating the commit and writing it out
2016-03-08commit: split creating the commit and writing it outCarlos Martín Nieto
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.
2016-03-08Merge pull request #3655 from ethomson/nanosecond_defaultsCarlos Martín Nieto
Enable nanosecond resolution by default
2016-03-08index::racy: force racy entryEdward Thomson
Instead of hoping that we can get a racy entry by going real fast and praying real hard, just create a racy entry.
2016-03-08Merge pull request #3658 from patrickmckenna/update-pro-git-linkEdward Thomson
Update link to Pro Git's Git internals chapter
2016-03-08Update link to Pro Git's Git internals chapter.Patrick McKenna
2016-03-08index::nsec: don't expect shit filesystems to not suckEdward Thomson
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.
2016-03-07merge::workdir::dirty: update to use `st_ctime_nsec`Edward Thomson
Update unit test to use newfangled `st_ctime_nsec`, which provides indirection to the platform-correct name.
2016-03-04Merge pull request #3653 from libgit2/cmn/treebuilder-submoduleEdward Thomson
treebuilder: don't try to verify submodules exist in the odb
2016-03-04treebuilder: don't try to verify submodules exist in the odbCarlos Martín Nieto
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.
2016-03-04Merge pull request #3651 from libgit2/cmn/init-libssh2Edward Thomson
ssh: initialize libssh2
2016-03-04ssh: initialize libssh2Carlos Martín Nieto
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.
2016-03-03Merge pull request #3639 from srajko/threading-openssl-libssh2Carlos Martín Nieto
Expand OpenSSL and libssh2 thread safety documentation
2016-03-03Enable nanosecond resolution by defaultEdward Thomson
Nanosecond resolution is now the default in git itself. Enable this as our default as well.
2016-03-03tests: take the version from our defineCarlos Martín Nieto
2016-03-03Bump version to 0.24.0Carlos Martín Nieto
2016-03-03CHANGELOG: prepre tamplate for releaseCarlos Martín Nieto
2016-03-03CHANGELOG: add note about WinHTTP cred handlingCarlos Martín Nieto
2016-03-03Merge pull request #3648 from libgit2/cmn/auth-retryCarlos Martín Nieto
test: make sure we retry the auth callback on all platforms
2016-03-03tests: create a ctest target for cred_callbackCarlos Martín Nieto
2016-03-03Merge pull request #3646 from pks-t/pks/xdiff-fix-from-upstreamCarlos Martín Nieto
xdiff: fix memleak on error case
2016-03-03winhttp: retry authenticationCarlos Martín Nieto
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.
2016-03-03test: make sure we retry the auth callback on all platformsCarlos Martín Nieto
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.
2016-03-03tests: plug a leakCarlos Martín Nieto
2016-03-01Merge pull request #3633 from ethomson/safe_creationEdward Thomson
Stricter object dependency checking during creation
2016-03-01xdiff: fix memleak on error casePatrick Steinhardt
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
2016-02-29Merge pull request #3567 from sba1/few-p_getaddrinfo-fixesEdward Thomson
Few p_getaddrinfo fixes
2016-02-29turn on strict object validation by defaultEdward Thomson
2016-02-29tests: use legitimate object idsEdward Thomson
Use legitimate (existing) object IDs in tests so that we have the ability to turn on strict object validation when running tests.
2016-02-29refs: honor strict object creationEdward Thomson
2016-02-29git_object__is_valid: use `odb_read_header`Edward Thomson
This allows lighter weight validation in `git_object__is_valid` that does not require reading the entire object.
2016-02-29git_index_add: validate objects in index entries (optionally)Edward Thomson
When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the index entries given to `git_index_add`.
2016-02-28Merge pull request #3644 from ethomson/debug_poolCarlos Martín Nieto
travis ci: enable debug pool for valgrind builds
2016-02-28treebuilder: validate tree entries (optionally)Edward Thomson
When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the tree and parent ids given to treebuilder insertion.
2016-02-28git_commit: validate tree and parent idsEdward Thomson
When `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION` is turned on, validate the tree and parent ids given to commit creation functions.
2016-02-28git_object__is_valid: simple object validity testEdward Thomson
2016-02-28git_libgit2_opts: introduce `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION`Edward Thomson
2016-02-28travis ci: enable debug pool for valgrind buildsEdward Thomson
2016-02-28Merge pull request #3577 from rossdylan/rossdylan/pooldebugEdward Thomson
Add a new build flag to disable the pool allocator
2016-02-27Expand OpenSSL and libssh2 thread safety documentationStjepan Rajko
2016-02-26Fixed typo in one of the ifndef's in pool.h used to enable/disable debug modeRoss Delinger
2016-02-25Merge pull request #3638 from ethomson/nsecCarlos Martín Nieto
USE_NSECS fixes
2016-02-25Merge pull request #3628 from pks-t/pks/coverity-fixesEdward Thomson
Coverity fixes
2016-02-25Merge pull request #3630 from libgit2/cmn/idx-extra-checkEdward Thomson
Extra checks for packfile indices
2016-02-25nsec: support NDK's crazy nanosecondsEdward Thomson
Android NDK does not have a `struct timespec` in its `struct stat` for nanosecond support, instead it has a single nanosecond member inside the struct stat itself. We will use that and use a macro to expand to the `st_mtim` / `st_mtimespec` definition on other systems (much like the existing `st_mtime` backcompat definition).
2016-02-25nsec: update staging test for GIT_USE_NSECSEdward Thomson
The index::nsec::staging_maintains_other_nanos test was created to ensure that when we stage an entry when GIT_USE_NSECS is *unset* that we truncate the index entry and do not persist the (old, invalid) nanosec values. Ensure that when GIT_USE_NSECS is *set* that we do not do that, and actually write the correct nanosecond values.
2016-02-25pack: don't allow a negative offsetCarlos Martín Nieto
2016-02-25pack: make sure we don't go out of bounds for extended entriesCarlos Martín Nieto
A corrupt index might have data that tells us to go look past the end of the file for data. Catch these cases and return an appropriate error message.