- 21 Jan, 2017 7 commits
-
-
Edward Thomson committed
-
indexer: introduce `git_packfile_close`
Edward Thomson committed -
It must be non-NULL to have a valid `git_indexer`.
Edward Thomson committed -
Encapsulation!
Edward Thomson committed -
Submodule optimization
Edward Thomson committed -
Edward Thomson committed
-
Only try to `unlink` our temp file when we know that we didn't copy it into its permanent location.
Edward Thomson committed
-
- 20 Jan, 2017 3 commits
-
-
`git_submodule_status` is very slow, bottlenecked on `git_repository_head_tree`, which it uses through `submodule_update_head`. If the user has requested submodule caching, assume that they want this status cached too and skip it. Signed-off-by: David Turner <dturner@twosigma.com>
Brock Peabody committed -
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 4 commits
-
-
Fix handling of GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH flag.
Edward Thomson committed -
merge: set default rename threshold
Carlos Martín Nieto committed -
lhchavez 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
-
- 04 Jan, 2017 2 commits
- 03 Jan, 2017 2 commits
-
-
Simon Byrne committed
-
Simon Byrne committed
-
- 02 Jan, 2017 1 commit
-
-
lhchavez committed
-
- 01 Jan, 2017 2 commits
-
-
When `GIT_MERGE_FIND_RENAMES` is set, provide a default for `rename_threshold` when it is unset.
Edward Thomson committed -
This change deletes the temporary packfile that the indexer creates to avoid littering the pack/ directory with garbage.
lhchavez committed
-
- 31 Dec, 2016 2 commits
-
-
Allow Windows with WinHTTP to use external http-parser
Edward Thomson committed -
Elliot Saba committed
-