- 13 May, 2023 1 commit
-
-
`git__timer` is now `git_time_monotonic`, and returns milliseconds since an arbitrary epoch. Using a floating point to store the number of seconds elapsed was clever, as it better supports the wide range of precision from the different monotonic clocks of different systems. But we're a version control system, not a real-time clock. Milliseconds is a good enough precision for our work _and_ it's the units that system calls like `poll` take and that our users interact with. Make `git_time_monotonic` return the monotonically increasing number of milliseconds "ticked" since some arbitrary epoch.
Edward Thomson committed
-
- 09 May, 2023 1 commit
-
-
Users should provide us an array of object ids; we don't need a separate type. And especially, we should not be mutating user-providing values. Instead, use `git_oid *` in the shallow code.
Edward Thomson committed
-
- 08 May, 2023 1 commit
-
-
Looks like a double-free here.
Edward Thomson committed
-
- 25 Apr, 2023 3 commits
-
-
Teach the smart transport more about oid types, instead of assuming SHA1.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 21 Mar, 2023 3 commits
-
-
Add support for SSPI on Windows, which offers NTLM and Negotiate authentication.
Edward Thomson committed -
Add functions to use convert a string with length, instead of assuming NUL termination. In addition, move the utf8 to 16 conversion routines into the `git_utf8` namespace instead of using namespaceless `git__` prefixed names.
Edward Thomson committed -
Name the GSSAPI and ntlmclient authentication providers as such. Today they're named after the authentication mechanism ("Negotiate", "NTLM") instead of their implementation. If we have competing implementations for the same mechanism (eg, a future Windows SSPI-based provider for Negotiate and NTLM) then this will get confusing.
Edward Thomson committed
-
- 10 Mar, 2023 2 commits
-
-
Co-authored-by: Qix <Qix-@users.noreply.github.com>
Laurence McGlashan committed -
lmcglash committed
-
- 27 Feb, 2023 1 commit
-
-
This reverts commit f68b40c0.
Edward Thomson committed
-
- 24 Feb, 2023 2 commits
-
-
Co-authored-by: Stefan Karpinski <stefan@karpinski.org>
Francois-Xavier Coudert committed -
Edward Thomson committed
-
- 22 Feb, 2023 1 commit
-
-
Fixes https://github.com/libgit2/libgit2/issues/3866 Has been applied in all Julia builds since 2017: https://github.com/JuliaLang/julia/pull/17459 Authored-by: Keno Fischer <kfischer@college.harvard.edu>
Francois-Xavier Coudert committed
-
- 12 Feb, 2023 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 09 Feb, 2023 3 commits
-
-
Eric Huss committed
-
I spent an hour banging my head against this, when it was because the remote didn't trust my key.
Edward Thomson committed -
Use `git_sysdir_find_homedir_file` to identify the path to the home directory's `.ssh/known_hosts`; this takes Windows paths into account by preferring `HOME`, then falling back to `HOMEPATH` and `USERPROFILE` directories.
Edward Thomson committed
-
- 25 Nov, 2022 1 commit
-
-
This looks like a typo to me, from what i can see these lines were added at the same time and because of how capabilities are calculated, it's likely that this code will work in situations where these capabilities were the last ones.
Russell Sim committed
-
- 04 Nov, 2022 1 commit
-
-
The server and client negotiate a single hostkey, but the "best" cipher may not be the one for which we have an entry in `known_hosts`. This can lead to us not finding the key in known_hosts even though we should be connecting. Instead here we look up the hostname with a nonsense key to perform a lookup in the known hosts and set that. This is roughly what the OpenSSH client does as well.
Carlos Martín Nieto committed
-
- 02 Nov, 2022 1 commit
-
-
It turns out this has been available in libssh2 for a long time and we should have been verifying this the whole time.
Carlos Martín Nieto committed
-
- 20 Oct, 2022 1 commit
-
-
Httpclient internally stores a copy of the certificate_check callback and payload. When connecting via HTTPS, and if the server sends back "Connection: close" after the first request, the following request would attempt to re-use the httpclient and call the (now outdated) callback. In particular for pygit2 this is a problem, since callbacks / payloads are only valid for the duration of a libgit2 call, leading to a ffi.from_handle() error and crashing the Python interpreter.
Sebastian Lackner committed
-
- 06 Sep, 2022 1 commit
-
-
Yuang Li committed
-
- 31 Aug, 2022 2 commits
- 09 Aug, 2022 2 commits
- 02 Aug, 2022 2 commits
- 01 Aug, 2022 1 commit
-
-
yuangli committed
-
- 29 Jul, 2022 3 commits
- 22 Jul, 2022 1 commit
-
-
Kevin Saul committed
-
- 14 Jul, 2022 1 commit
-
-
The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
Edward Thomson committed
-
- 20 Jun, 2022 1 commit
-
-
`git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
Edward Thomson committed
-
- 15 Jun, 2022 1 commit
-
-
In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
Edward Thomson committed
-
- 11 Jun, 2022 1 commit
-
-
Co-authored-by: Edward Thomson <ethomson@github.com>
lhchavez committed
-