- 20 Jan, 2017 2 commits
-
-
Added `git_repository_submodule_cache_all` to initialze a cache of submodules on the repository so that operations looking up N submodules are O(N) and not O(N^2). Added a `git_repository_submodule_cache_clear` function to remove the cache. Also optimized the function that loads all submodules as it was itself O(N^2) w.r.t the number of submodules, having to loop through the `.gitmodules` file once per submodule. I changed it to process the `.gitmodules` file once, into a map. Signed-off-by: David Turner <dturner@twosigma.com>
Brock Peabody committed -
Signed-off-by: David Turner <dturner@twosigma.com>
David Turner committed
-
- 16 Jan, 2017 2 commits
-
-
WinHTTP: support best auth mechanism
Carlos Martín Nieto committed -
For username/password credentials, support NTLM or Basic (in that order of priority). Use the WinHTTP built-in authentication support for both, and maintain a bitfield of the supported mechanisms from the response.
Edward Thomson committed
-
- 14 Jan, 2017 3 commits
-
-
Fix handling of GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH flag.
Edward Thomson committed -
merge: set default rename threshold
Carlos Martín Nieto committed -
Edward Thomson committed
-
- 13 Jan, 2017 1 commit
-
-
giterr_set: consistent error messages
Carlos Martín Nieto committed
-
- 11 Jan, 2017 1 commit
-
-
fix examples/network/clone.c: heap-buffer-overflow
Edward Thomson committed
-
- 09 Jan, 2017 5 commits
-
-
Carlos Martín Nieto committed
-
security updates for v0.25
Carlos Martín Nieto committed -
None of our crypto backends actually reject RC4 as a cipher so don't test for it and instead keep it as something we'd like to do.
Carlos Martín Nieto committed -
We must make sure that we're getting a certificate error from the library so we know that we're testing the right thing.
Carlos Martín Nieto committed -
Format of a length of string to the correct format is:%.*s
Force.Charlie-I committed
-
- 06 Jan, 2017 8 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
The Git protocol does not specify what should happen in the case of an empty packet line (that is a packet line "0004"). We currently indicate success, but do not return a packet in the case where we hit an empty line. The smart protocol was not prepared to handle such packets in all cases, though, resulting in a `NULL` pointer dereference. Fix the issue by returning an error instead. As such kind of packets is not even specified by upstream, this is the right thing to do.
Patrick Steinhardt committed -
Each packet line in the Git protocol is prefixed by a four-byte length of how much data will follow, which we parse in `git_pkt_parse_line`. The transmitted length can either be equal to zero in case of a flush packet or has to be at least of length four, as it also includes the encoded length itself. Not checking this may result in a buffer overflow as we directly pass the length to functions which accept a `size_t` length as parameter. Fix the issue by verifying that non-flush packets have at least a length of `PKT_LEN_SIZE`.
Patrick Steinhardt committed -
Edward Thomson committed
-
Make sure that the callbacks do also get a 'valid' value of zero when the certificate we're looking at is in valid and assert that within the test.
Carlos Martín Nieto committed -
Etienne Samson committed
-
Mention field addition in breaking API changes
Edward Thomson committed
-
- 03 Jan, 2017 2 commits
-
-
Simon Byrne committed
-
Simon Byrne committed
-
- 01 Jan, 2017 1 commit
-
-
When `GIT_MERGE_FIND_RENAMES` is set, provide a default for `rename_threshold` when it is unset.
Edward Thomson committed
-
- 31 Dec, 2016 2 commits
-
-
Allow Windows with WinHTTP to use external http-parser
Edward Thomson committed -
Elliot Saba committed
-
- 30 Dec, 2016 3 commits
-
-
Fix issue #4046 Seg fault in config_files()
Edward Thomson committed -
Fix BIO_* functions method linking when compiled with libressl (OpenBSD).
Edward Thomson committed -
git_checkout_tree() sets up its working directory iterator to respect the pathlist if GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH is present, which is great. What's not so great is that this iterator is then used side-by-side with an iterator created by git_checkout_iterator(), which did not set up its pathlist appropriately (although the iterator mirrors all other iterator options). This could cause git_checkout_tree() to delete working tree files which were not specified in the pathlist when GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH was used, as the unsynchronized iterators causes git_checkout_tree() to think that files have been deleted between the two trees. Oops. And added a test which fails without this fix (specifically, the final check for "testrepo/README" to still be present fails).
John Fultz committed
-
- 29 Dec, 2016 5 commits
-
-
Douglas Swanson committed
-
Edward Thomson committed
-
Error messages should be sentence fragments, and therefore: 1. Should not begin with a capital letter, 2. Should not conclude with punctuation, and 3. Should not end a sentence and begin a new one
Edward Thomson committed -
rebase: check the result code of rebase_init_merge
Edward Thomson committed -
Jacques Germishuys committed
-
- 27 Dec, 2016 1 commit
-
-
mempack: set the odb backend version
Edward Thomson committed
-
- 25 Dec, 2016 1 commit
-
-
Jacques Germishuys committed
-
- 24 Dec, 2016 1 commit
-
- 20 Dec, 2016 2 commits
-
-
Documentation fixes
Carlos Martín Nieto committed -
http: bump the pretend git version in the User-Agent
Edward Thomson committed
-