- 05 Aug, 2014 4 commits
-
-
To make sure that items returned from pool allocations are aligned on nice boundaries, this rounds up all pool allocation sizes to a multiple of 8. This adds a small amount of overhead to each item. The rounding up could be made optional with an extra parameter to the pool initialization that turned on rounding only for pools where item alignment actually matters, but I think for the extra code and complexity that would be involved, that it makes sense just to burn a little bit of extra memory and enable this all the time.
Russell Belfer committed -
This lets a user decide they do want to use keyboard-interactive after they've compiled.
Carlos Martín Nieto committed -
When linking against libssh2, create the transport.h such that it contains its definition for custom crypto and keyboard-interactive callbacks. If we don't link against libssh2, create an equivalent signature which has void pointers instead of pointers to libssh2 structures. This would be one way to fix #2438.
Carlos Martín Nieto committed -
The OpenSSL library-loading functions do not expect to be called multiple times. Add a flag in the non-threaded libgit2 init so we only call once. This fixes #2446.
Carlos Martín Nieto committed
-
- 01 Aug, 2014 1 commit
-
-
treebuilder: set the attributes before sorting and inserting
Vicent Marti committed
-
- 31 Jul, 2014 1 commit
-
-
We need to set the attributes before we try to insert it into the vector, as the comparison function needs to know whether the entry is a tree or not.
Carlos Martín Nieto committed
-
- 20 Jun, 2014 1 commit
-
-
Vicent Marti committed
-
- 16 Jun, 2014 1 commit
-
-
Don't use read-write accounts for the tests
Vicent Marti committed
-
- 14 Jun, 2014 1 commit
-
-
netops: init OpenSSL once under lock
Vicent Marti committed
-
- 13 Jun, 2014 3 commits
-
-
The assembla failure we were seeing referred to a private repository, which is not what is there at the moment. This reverts 1fd21b03
Carlos Martín Nieto committed -
Don't write in plaintext the password of an account which has full control over the repository. Instead use an account with read-only access.
Carlos Martín Nieto committed -
We want to check whether the credentials callback is NULL, not whether the payload is.
Carlos Martín Nieto committed
-
- 12 Jun, 2014 3 commits
-
-
Bring together all of the OpenSSL initialization to git_threads_init() so it's together and doesn't need locks. Moving it here also gives us libssh2 thread safety (when built against openssl).
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
OpenSSL's tests init everything in the main thread, so let's do that.
Carlos Martín Nieto committed
-
- 11 Jun, 2014 4 commits
-
-
When using in a multithreaded context, OpenSSL needs to lock, and leaves it up to application to provide said locks. We were not doing this, and it's just luck that's kept us from crashing up to now.
Carlos Martín Nieto committed -
Add docs for git_clone_local_t and move the docs for the git_clone_options to each field.
Carlos Martín Nieto committed -
The OpenSSL init functions are not reentrant, which means that running multiple fetches in parallel can cause us to crash. Use a mutex to init OpenSSL, and since we're adding this extra checks, init it only once.
Carlos Martín Nieto committed -
revwalk: more sensible array handling
Vicent Marti committed
-
- 10 Jun, 2014 3 commits
-
-
Instead of using a sentinel empty value to detect the last commit, let's check for when we get a NULL from popping the stack, which lets us know when we're done. The current code causes us to read uninitialized data, although only on RHEL/CentOS 6 in release mode. This is a readability win overall.
Carlos Martín Nieto committed -
treebuilder: insert sorted
Vicent Marti committed -
Carlos Martín Nieto committed
-
- 09 Jun, 2014 2 commits
-
-
By inserting in the right position, we can keep the vector sorted, making entry insertion almost twice as fast.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 08 Jun, 2014 5 commits
-
-
Carlos Martín Nieto committed
-
Bump library version to 0.21.0 and SONAME to 21
Carlos Martín Nieto committed -
Since the SOVERSION doesn't need to follow the library's version and simply needs to be monotonically increasing whenever we release something that breaks the ABI, we can set some number and allow multiple versions of the library to be installed side-by-side. We start here with the minor version as that's what we release for now, and it allows to backport this change to earlier versions.
Carlos Martín Nieto committed -
More remote rename fixes
Vicent Marti committed -
Win32: Fix object::cache::threadmania test on x64
Vicent Marti committed
-
- 07 Jun, 2014 5 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
Win32 test fixes
Philip Kelley committed -
Philip Kelley committed
-
Philip Kelley committed
-
- 06 Jun, 2014 6 commits
-
-
This was a bad idea. Don't free except in the free function.
Carlos Martín Nieto committed -
A symref inside the namespace gets renamed, we should make it point to the target's new name. This is for the origin/HEAD -> origin/master type of situations.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
There is no reason why we need to use a callback here. A string array fits better with the usage, as this is not an event and we don't need anything from the user.
Carlos Martín Nieto committed -
We must make sure that the name pointer remains valid, so make sure to allocate the new one before freeing the old one and swap them so the user never sees an invalid pointer.
Carlos Martín Nieto committed -
We don't allow renames of anonymous remotes, so there's no need to handle them. A remote is always associated with a repository, so there's no need to check for that.
Carlos Martín Nieto committed
-